This commit is contained in:
committed by
SAU-431 implementer
parent
6dc21cd8dc
commit
ee88adf6c6
+1
-1
@@ -4,7 +4,7 @@ use serde_json::{Value, json};
|
|||||||
use std::{collections::VecDeque, sync::atomic::Ordering, time::Duration};
|
use std::{collections::VecDeque, sync::atomic::Ordering, time::Duration};
|
||||||
use tokio::time::Instant;
|
use tokio::time::Instant;
|
||||||
|
|
||||||
// Agreed systemd-derived values: /docs/design/plugin-handover/design.md,
|
// Systemd-derived values:
|
||||||
// https://www.man7.org/linux/man-pages/man5/systemd-system.conf.5.html.
|
// https://www.man7.org/linux/man-pages/man5/systemd-system.conf.5.html.
|
||||||
const CRASH_LIMIT: usize = 5;
|
const CRASH_LIMIT: usize = 5;
|
||||||
const CRASH_WINDOW: Duration = Duration::from_secs(10);
|
const CRASH_WINDOW: Duration = Duration::from_secs(10);
|
||||||
|
|||||||
Reference in New Issue
Block a user