mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
[CE/SP] Flush redis on docker stop (#11714)
* [CE/SP] Flush redis on `docker stop` * Extracted `limit` to variable Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com> * Increased logging --------- Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com> GitOrigin-RevId: 4bcb4e70988337369acca0e80f243609bd6323ed
This commit is contained in:
committed by
Copybot
co-authored by
Jakob Ackermann
parent
204e7a0c87
commit
909bb99b9f
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd /overleaf/services/document-updater && node scripts/flush_all.js >> /var/log/sharelatex/document-updater.log 2>&1
|
||||
|
||||
EXIT_CODE="$?"
|
||||
if [ $EXIT_CODE -ne 0 ]
|
||||
then
|
||||
echo "document-updater/scripts/flush_all.js failed with exit code $EXIT_CODE"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user