fix transaction timeout

pull/200/head
Aevann 2023-09-06 00:57:46 +03:00
parent 6c0935d6b9
commit 0b4582f2ae
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ def cron_fn(every_5m, every_1d):
_grant_two_year_badges()
if every_1d or not cache.get('stats'):
g.db.commit()
_generate_emojis_zip()
if FEATURES['ASSET_SUBMISSIONS']: