MCPcopy
hub / github.com/mikf/gallery-dl / sleep

Method sleep

gallery_dl/extractor/common.py:346–349  ·  view source on GitHub ↗
(self, seconds, reason)

Source from the content-addressed store, hash-verified

344 time.sleep(seconds)
345
346 def sleep(self, seconds, reason):
347 self.log.debug("Sleeping %.2f seconds (%s)",
348 seconds, reason)
349 time.sleep(seconds)
350
351 def utils(self, module="", name=None):
352 module = (self.__class__.category if not module else

Callers 15

requestMethod · 0.95
runMethod · 0.80
handle_urlMethod · 0.80
handle_skipMethod · 0.80
handle_urlMethod · 0.80
runMethod · 0.80
_waitFunction · 0.80
_download_implMethod · 0.80
_receive_rateMethod · 0.80
requestMethod · 0.80
waitMethod · 0.80

Calls 1

debugMethod · 0.45

Tested by

no test coverage detected