mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-11-27 00:35:08 -05:00
Slower forgiveness
This commit is contained in:
parent
66f62efcbb
commit
0cb437083e
@ -30,7 +30,7 @@ def setup(violations_threshold=100):
|
|||||||
threshold = violations_threshold
|
threshold = violations_threshold
|
||||||
|
|
||||||
scheduler = BackgroundScheduler()
|
scheduler = BackgroundScheduler()
|
||||||
scheduler.add_job(func=forgive_banned, trigger="interval", minutes=60)
|
scheduler.add_job(func=forgive_banned, trigger="interval", minutes=480)
|
||||||
scheduler.start()
|
scheduler.start()
|
||||||
|
|
||||||
# Shut down the scheduler when exiting the app
|
# Shut down the scheduler when exiting the app
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user