Change to throttle connection rate on thread initiation for adba library

This commit is contained in:
Adam 2015-10-26 18:50:19 +08:00
parent 6752b47593
commit 6880a7882b
2 changed files with 4 additions and 2 deletions

View file

@ -56,6 +56,7 @@
* Remove Strike torrent provider
* Change increase the scope and number of non release group text that is identified and removed
* Add a general config setting to allow adding incomplete show data
* Change to throttle connection rate on thread initiation for adba library
[develop changelog]
Enable Alpha Ratio again now that the secure login page over https is fixed

View file

@ -61,8 +61,9 @@ class Connection(threading.Thread):
self._iamALIVE = False
self.counter = 0
self.counterAge = 0
# start with a throttled connection
self.counter = 6
self.counterAge = time()
def print_log(self, data):
print(strftime("%Y-%m-%d %H:%M:%S", localtime(time())) + ": " + str(data))