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 09fbd1b commit 0314120Copy full SHA for 0314120
src/index.ts
@@ -73,6 +73,18 @@ async function setupSysdigIntegration(): Promise<void> {
73
return;
74
}
75
76
+ const initialInterval: number = 20 * 60 * 1000; // 20 mins in milliseconds
77
+ setTimeout(async () => {
78
+ try {
79
+ await scrapeData();
80
+ } catch (error) {
81
+ logger.error(
82
+ { error },
83
+ 'an error occurred while scraping initial runtime data',
84
+ );
85
+ }
86
+ }, initialInterval).unref();
87
+
88
const interval: number = 4 * 60 * 60 * 1000; // 4 hours in milliseconds
89
setInterval(async () => {
90
try {
0 commit comments