mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-16 22:05:12 +00:00
perf: reduce config save times
This commit is contained in:
parent
e71118c09e
commit
d756b0dc3f
@ -41,6 +41,7 @@ class Bounty(BountyUI):
|
||||
if action == 'stop':
|
||||
raise RequestHumanTakeover
|
||||
elif action == 'skip':
|
||||
with self.config.multi_set():
|
||||
self.config.task_delay(server_update=True)
|
||||
self.config.task_stop()
|
||||
|
||||
|
||||
@ -42,6 +42,7 @@ class Scrimmage(ScrimmageUI):
|
||||
if action == 'stop':
|
||||
raise RequestHumanTakeover
|
||||
elif action == 'skip':
|
||||
with self.config.multi_set():
|
||||
self.config.task_delay(server_update=True)
|
||||
self.config.task_stop()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user