storkit: merge 428_refactor_split_pool_pipeline_rs_into_submodules
This commit is contained in:
@@ -51,6 +51,7 @@ impl AgentPool {
|
||||
|
||||
// Spawn a background task (only when inside a tokio runtime) that
|
||||
// listens for RateLimitWarning and HardBlock events and updates the
|
||||
// listens for RateLimitWarning and RateLimitHardBlock events and updates the
|
||||
// throttled flag on the relevant agent so status dots stay current.
|
||||
if tokio::runtime::Handle::try_current().is_ok() {
|
||||
let agents_clone = Arc::clone(&pool.agents);
|
||||
|
||||
Reference in New Issue
Block a user