Auto-save less often.
This commit is contained in:
parent
9eea42482c
commit
a2aaa201c5
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class Worker:
|
||||||
await self.result.run(log, appearance_changed_event, self)
|
await self.result.run(log, appearance_changed_event, self)
|
||||||
self.result.compression = self.compression
|
self.result.compression = self.compression
|
||||||
Worker.unsaved_jobs_total += 1
|
Worker.unsaved_jobs_total += 1
|
||||||
if Worker.unsaved_jobs_total == 100:
|
if Worker.unsaved_jobs_total == 2000:
|
||||||
log.log_message(Worker.AUTOSAVE_MESSAGE)
|
log.log_message(Worker.AUTOSAVE_MESSAGE)
|
||||||
screen.save()
|
screen.save()
|
||||||
summary.completed_total += 1
|
summary.completed_total += 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue