mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-15 14:32:53 +00:00
More forgiving
This commit is contained in:
parent
1dddcea794
commit
be88f289c7
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,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=480)
|
scheduler.add_job(func=forgive_banned, trigger="interval", minutes=30)
|
||||||
scheduler.start()
|
scheduler.start()
|
||||||
|
|
||||||
# Shut down the scheduler when exiting the app
|
# Shut down the scheduler when exiting the app
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue