1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2026-06-09 20:04:52 +00:00

perf: reduce config save times

This commit is contained in:
2023-11-25 15:28:57 +08:00
parent e71118c09e
commit d756b0dc3f
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -42,8 +42,9 @@ class Scrimmage(ScrimmageUI):
if action == 'stop':
raise RequestHumanTakeover
elif action == 'skip':
self.config.task_delay(server_update=True)
self.config.task_stop()
with self.config.multi_set():
self.config.task_delay(server_update=True)
self.config.task_stop()
@property
def is_ticket_enough(self) -> bool: