Peter Surda
d635e515b9
- most of the stuff is done so it partially works - disabled pollers other than select (debugging necessary) - can switch in the settings, section network, option asyncore (defaults to False)
13 lines
342 B
Python
13 lines
342 B
Python
#import collections
|
|
from threading import current_thread, enumerate as threadingEnumerate, RLock
|
|
import Queue
|
|
import time
|
|
|
|
#from helper_sql import *
|
|
from singleton import Singleton
|
|
|
|
@Singleton
|
|
class DownloadQueue(Queue.Queue):
|
|
# keep a track of objects that have been advertised to us but we haven't downloaded them yet
|
|
maxWait = 300
|