pybitmessage.network.downloadthread module

src/network/downloadthread.py

class DownloadThread[source]

Bases: pybitmessage.network.threads.StoppableThread

Thread-based class for downloading from connections

cleanInterval = 60
cleanPending()

Expire pending downloads eventually

maxRequestChunk = 1000
minPending = 200
requestExpires = 3600
requestTimeout = 60
run()

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.