Compare commits

..

2 Commits

Author SHA1 Message Date
0ccfa8be98 fix(deps): update all dependencies
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-01-06 01:07:54 +00:00
efec76d28c feat: run more often
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
2025-01-05 20:50:49 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -216,7 +216,6 @@ impl ServerWasiView {
.inherit_stdio() .inherit_stdio()
.inherit_stdout() .inherit_stdout()
.inherit_stderr() .inherit_stderr()
.inherit_env()
.inherit_network() .inherit_network()
.preopened_dir("/", "/", DirPerms::all(), FilePerms::all()) .preopened_dir("/", "/", DirPerms::all(), FilePerms::all())
.expect("to be able to open root") .expect("to be able to open root")

View File

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