Skip to content

Commit

Permalink
Workaround to fix redis busy running lua after warm-reboot
Browse files Browse the repository at this point in the history
Extend redis configuration lua-time-limit to 30 seconds
  • Loading branch information
vincentchiang-ec committed Sep 12, 2024
1 parent 5abcee4 commit 9512222
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockers/docker-database/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ RUN apt-get clean -y && \
s/redis-server.sock/redis.sock/g; \
s/^client-output-buffer-limit pubsub [0-9]+mb [0-9]+mb [0-9]+/client-output-buffer-limit pubsub 0 0 0/; \
s/^notify-keyspace-events ""$/notify-keyspace-events AKE/; \
s/^databases [0-9]+$/databases 100/ \
s/^databases [0-9]+$/databases 100/; \
s/^lua-time-limit 5000$/lua-time-limit 30000/ \
' /etc/redis/redis.conf

COPY ["supervisord.conf.j2", "/usr/share/sonic/templates/"]
Expand Down

0 comments on commit 9512222

Please sign in to comment.