summaryrefslogtreecommitdiffstats
path: root/module/network/Bucket.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/network/Bucket.py')
-rw-r--r--module/network/Bucket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/network/Bucket.py b/module/network/Bucket.py
index 60d8a757a..1a2d77409 100644
--- a/module/network/Bucket.py
+++ b/module/network/Bucket.py
@@ -34,7 +34,7 @@ class Bucket:
def consumed(self, amount):
""" return time the process have to sleep, after consumed specified amount """
- if self.rate < 0: return 0
+ if self.rate < 10240: return 0 #min. 10kb, may become unresponsive otherwise
self.lock.acquire()
self.calc_tokens()