summaryrefslogtreecommitdiffstats
path: root/pyload/network/Bucket.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-12 00:52:10 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-12 00:52:10 +0100
commit8be6df43e1d3ae274ee8002588b650ec181a05f6 (patch)
tree6a2077411e2587673c0045434c9f115887c1b17e /pyload/network/Bucket.py
parentFix JsEngine (diff)
downloadpyload-8be6df43e1d3ae274ee8002588b650ec181a05f6.tar.xz
Spare code fixes (2)
Diffstat (limited to 'pyload/network/Bucket.py')
-rw-r--r--pyload/network/Bucket.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/network/Bucket.py b/pyload/network/Bucket.py
index 33aa7c42e..408a1e240 100644
--- a/pyload/network/Bucket.py
+++ b/pyload/network/Bucket.py
@@ -2,10 +2,9 @@
# @author: RaNaN
from time import time
+from threading import Lock
-
-# 10kb minimum rate
-MIN_RATE = 10240
+MIN_RATE = 10240 #: 10kb minimum rate
class Bucket(object):