Пример #1
0
 def get_default_throttling(self):
     return Throttling(max_downloads_per_hour=360,
                       max_queue_fills_per_hour=40)
Пример #2
0
 def get_default_throttling(self):
     return Throttling(min_download_interval=60, min_fill_queue_interval=600)
Пример #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)
Пример #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)