throttle loading even further, to 1000/sec

This commit is contained in:
Zlatin Balevsky
2019-10-09 16:46:17 +01:00
parent 251080d08f
commit ed3f9da773

View File

@ -60,7 +60,7 @@ class PersisterService extends Service {
log.fine("loaded file $event.loadedFile.file")
listener.publish event
loaded++
if (loaded % 50 == 0)
if (loaded % 10 == 0)
Thread.sleep(10)
}
}