Skip to content

Commit d23caa3

Browse files
committed
Disable periodic save hook due to it not being needed and it causing issues with db locks
1 parent 0f2221a commit d23caa3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/duckhunt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def save_on_exit(db):
116116
return save_status(db, False)
117117

118118

119-
@hook.periodic(8 * 3600, singlethread=True) # Run every 8 hours
119+
# @hook.periodic(8 * 3600, singlethread=True) # Run every 8 hours
120120
def save_status(db, _sleep=True):
121121
for network in game_status:
122122
for chan, status in game_status[network].items():

0 commit comments

Comments
 (0)