mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 02:23:38 +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
|
* Remove Strike torrent provider
|
||||||
* Change increase the scope and number of non release group text that is identified and removed
|
* 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
|
* Add a general config setting to allow adding incomplete show data
|
||||||
|
* Change to throttle connection rate on thread initiation for adba library
|
||||||
|
|
||||||
[develop changelog]
|
[develop changelog]
|
||||||
Enable Alpha Ratio again now that the secure login page over https is fixed
|
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._iamALIVE = False
|
||||||
|
|
||||||
self.counter = 0
|
# start with a throttled connection
|
||||||
self.counterAge = 0
|
self.counter = 6
|
||||||
|
self.counterAge = time()
|
||||||
|
|
||||||
def print_log(self, data):
|
def print_log(self, data):
|
||||||
print(strftime("%Y-%m-%d %H:%M:%S", localtime(time())) + ": " + str(data))
|
print(strftime("%Y-%m-%d %H:%M:%S", localtime(time())) + ": " + str(data))
|
||||||
|
|
Loading…
Reference in a new issue