flower auto purge to 1 hour

This commit is contained in:
BennyThink 2022-01-08 13:54:20 +08:00
parent 4163597a08
commit 026a184e02
No known key found for this signature in database
GPG key ID: 6CD0DBDA5235D481

View file

@ -48,7 +48,7 @@ services:
command: [ "/usr/local/bin/celery",
"-A", "flower_tasks", "flower",
"--basic_auth=benny:123456",
"--address=0.0.0.0", "--persistent","--purge_offline_workers=1" ]
"--address=0.0.0.0", "--persistent","--purge_offline_workers=3600" ]
volumes:
- ./data/flower:/ytdlbot/ytdlbot/flower
ports: