feat: update with web assembly components
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-12-01 22:21:17 +01:00
parent 2387a70778
commit db4cc98643
14 changed files with 1500 additions and 25 deletions

View File

@@ -30,7 +30,8 @@ impl notmad::Component for AgentRefresh {
&self,
cancellation_token: tokio_util::sync::CancellationToken,
) -> Result<(), notmad::MadError> {
let cancel = nodrift::schedule_drifter(std::time::Duration::from_secs(60), self.clone());
let cancel =
nodrift::schedule_drifter(std::time::Duration::from_secs(60 * 10), self.clone());
tokio::select! {
_ = cancel.cancelled() => {},
_ = cancellation_token.cancelled() => {