mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Merge pull request #546 from adam111316/feature/ChangeAdbaThrottle
Change to throttle connection rate on thread initiation for adba library
This commit is contained in:
commit
fe1c6fb199
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue