We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 896d74b commit fa550cdCopy full SHA for fa550cd
1 file changed
src/config/config.rs
@@ -11,7 +11,9 @@ const DEFAULT_ORIGIN_HOST: &str = "api.cloudray.io";
11
pub const METRICS_CPU_SAMPLE_EVERY: Duration = Duration::from_secs(5);
12
pub const METRICS_CPU_MAX_SAMPLES: usize = 12;
13
pub const METRICS_COLLECT_EVERY: Duration = Duration::from_secs(60);
14
-pub const REPORT_EVERY: Duration = Duration::from_secs(60);
+/// Default interval at which report is sent to the Origin. Some tasks e.g., runlog outputs may expedite this.
15
+pub const REPORT_EVERY: Duration = Duration::from_secs(5);
16
+/// Interval at which report is checked to see if it should be sent.
17
pub const REPORT_CHECK_EVERY: Duration = Duration::from_secs(2);
18
pub const RUNLOG_RUN_TIMEOUT: Duration = Duration::from_secs(3600);
19
0 commit comments