Skip to content

Commit 9501e57

Browse files
committed
fix: increase default actor kill timeout to 5s
1 parent 174dc68 commit 9501e57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/edge/api/actor/src/route/actors/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ pub async fn create(
153153
resources: None,
154154
lifecycle: body.lifecycle.map(|x| (*x).api_into()).unwrap_or_else(|| {
155155
pegboard::types::ActorLifecycle {
156-
kill_timeout_ms: 0,
156+
kill_timeout_ms: 5000,
157157
durable: false,
158158
}
159159
}),

packages/edge/api/actor/src/route/containers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ pub async fn create(
154154
resources: Some((*body.resources).api_into()),
155155
lifecycle: body.lifecycle.map(|x| (*x).api_into()).unwrap_or_else(|| {
156156
pegboard::types::ActorLifecycle {
157-
kill_timeout_ms: 0,
157+
kill_timeout_ms: 5000,
158158
durable: false,
159159
}
160160
}),

0 commit comments

Comments
 (0)