Ejemplo n.º 1
0
 def get_default_throttling(self):
     return Throttling(max_downloads_per_hour=360,
                       max_queue_fills_per_hour=40)
Ejemplo n.º 2
0
 def get_default_throttling(self):
     return Throttling(min_download_interval=60, min_fill_queue_interval=600)
Ejemplo n.º 3
0
 def get_default_throttling(self):
     # throttle this source, as otherwise maps "overpower" all other types of images
     # with Variety's default settings, and we have no other way to control source "weights"
     return Throttling(min_download_interval=600, min_fill_queue_interval=0)
Ejemplo n.º 4
0
 def get_default_throttling(self):
     # throttle this source, as otherwise maps "overpower" all other types of images
     # with Variety's default settings, and we have no other way to control source "weights"
     return Throttling(max_downloads_per_hour=20,
                       max_queue_fills_per_hour=None)