[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
This commit is contained in:
pavel-shirshov 2017-04-26 11:09:58 -07:00 committed by Shuotian Cheng
parent ce663baa10
commit d083d7e79c

View File

@ -28,7 +28,8 @@ RUN sed -ri 's/^(save .*$)/# \1/g;
s/^daemonize yes$/daemonize no/; \
s/^logfile .*$/logfile ""/; \
s/^# syslog-enabled no$/syslog-enabled no/; \
s/^# unixsocket/unixsocket/ \
s/^# unixsocket/unixsocket/; \
s/^client-output-buffer-limit pubsub [0-9]+mb [0-9]+mb [0-9]+/client-output-buffer-limit pubsub 0 0 0/ \
' /etc/redis/redis.conf
ENTRYPOINT ["/usr/bin/redis-server", "/etc/redis/redis.conf"]