Pace bulk watchlist refresh requests
This commit is contained in:
@@ -1814,7 +1814,11 @@ def build_runtime(start_workers=None):
|
||||
job_prepare_fn=prepare_download_job,
|
||||
start_worker=worker_state,
|
||||
)
|
||||
watchlist_refresh = WatchlistRefreshJobs(watchlist, start_worker=worker_state)
|
||||
watchlist_refresh = WatchlistRefreshJobs(
|
||||
watchlist,
|
||||
config_getter=lambda: get_config_snapshot(config),
|
||||
start_worker=worker_state,
|
||||
)
|
||||
watchlist_auto_refresh = WatchlistAutoRefreshScheduler(
|
||||
config_getter=lambda: get_config_snapshot(config),
|
||||
refresh_start_fn=watchlist_refresh.start,
|
||||
|
||||
Reference in New Issue
Block a user