fix transaction timeout
parent
6c0935d6b9
commit
0b4582f2ae
|
@ -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']:
|
||||
|
|
Loading…
Reference in New Issue