chore: update default schedule
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8923c60d9e
commit
ef6ae3f2b1
@ -32,7 +32,8 @@ impl notmad::Component for AgentRefresh {
|
||||
) -> Result<(), notmad::MadError> {
|
||||
// let cancel =
|
||||
// nodrift::schedule_drifter(std::time::Duration::from_secs(60 * 10), self.clone());
|
||||
let cancel = nodrift::schedule_drifter(std::time::Duration::from_secs(5), self.clone());
|
||||
let cancel =
|
||||
nodrift::schedule_drifter(std::time::Duration::from_secs(60 * 5), self.clone());
|
||||
tokio::select! {
|
||||
_ = cancel.cancelled() => {},
|
||||
_ = cancellation_token.cancelled() => {
|
||||
|
Loading…
Reference in New Issue
Block a user