From 14bdfa6b2e0c98d1ae060bc26f10c42f60c187db Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Wed, 9 Oct 2019 17:34:54 +0100 Subject: [PATCH] throttle even further - 500/s --- .../main/groovy/com/muwire/core/files/PersisterService.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/groovy/com/muwire/core/files/PersisterService.groovy b/core/src/main/groovy/com/muwire/core/files/PersisterService.groovy index 16911ee5..2a947930 100644 --- a/core/src/main/groovy/com/muwire/core/files/PersisterService.groovy +++ b/core/src/main/groovy/com/muwire/core/files/PersisterService.groovy @@ -61,7 +61,7 @@ class PersisterService extends Service { listener.publish event loaded++ if (loaded % 10 == 0) - Thread.sleep(10) + Thread.sleep(20) } } }