Skip to content

Commit d083d7e

Browse files
pavel-shirshovShuotian Cheng
authored andcommitted
[database]: Remove hard/soft limits for client-output-buffer in redis (#539)
* Remove hard/soft limits for client-output-buffer in redis Otherwise when we have a lot of updates from orchagent to syncd latter one can't process queues fast enough and redic-database disconnect both orchagent and syncd. orchagent and syncd doesn't have logic to deal with it and just crash
1 parent ce663ba commit d083d7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dockers/docker-database/Dockerfile.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ RUN sed -ri 's/^(save .*$)/# \1/g;
2828
s/^daemonize yes$/daemonize no/; \
2929
s/^logfile .*$/logfile ""/; \
3030
s/^# syslog-enabled no$/syslog-enabled no/; \
31-
s/^# unixsocket/unixsocket/ \
31+
s/^# unixsocket/unixsocket/; \
32+
s/^client-output-buffer-limit pubsub [0-9]+mb [0-9]+mb [0-9]+/client-output-buffer-limit pubsub 0 0 0/ \
3233
' /etc/redis/redis.conf
3334

3435
ENTRYPOINT ["/usr/bin/redis-server", "/etc/redis/redis.conf"]

0 commit comments

Comments
 (0)