Skip to content

Commit eafe218

Browse files
committed
Increase the worker check interval to 5 minutes
This is the recommended interval of the TSN-Ranksystem project.
1 parent f51ea51 commit eafe218

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docker-entrypoint.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ if [ ! "$(whoami)" = "www-data" ]; then
1616
exit 1
1717
fi
1818

19-
export DOCKER_ENV=1
20-
2119
# Remove the old instance (if existing)
2220
rm -rf "/var/www/html/"
2321

@@ -52,7 +50,7 @@ worker() {
5250
cd "${RS_ROOT}"
5351
while true; do
5452
php worker.php check
55-
sleep $(( 10 * 60 )) # Every 10 minutes
53+
sleep $(( 5 * 60 )) # Every 5 minutes
5654
done
5755
}
5856

0 commit comments

Comments
 (0)