We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4dbc84 commit cfc540fCopy full SHA for cfc540f
1 file changed
rivetkit-rust/packages/rivetkit-core/src/actor/task.rs
@@ -70,7 +70,7 @@ use crate::websocket::WebSocket;
70
pub type ActionDispatchResult = std::result::Result<Vec<u8>, ActionDispatchError>;
71
pub type HttpDispatchResult = Result<Response>;
72
73
-const SERIALIZE_STATE_SHUTDOWN_SANITY_CAP: Duration = Duration::from_secs(30);
+const SERIALIZE_STATE_SHUTDOWN_SANITY_CAP: Duration = Duration::from_secs(15);
74
#[cfg(test)]
75
const LONG_SHUTDOWN_DRAIN_WARNING_THRESHOLD: Duration = Duration::from_secs(1);
76
const INSPECTOR_SERIALIZE_STATE_INTERVAL: Duration = Duration::from_millis(50);
0 commit comments