Skip to content

Commit

Permalink
fix: updated export interval to be 20 seconds instead of 20 milliseco…
Browse files Browse the repository at this point in the history
…nds (#209)

Updated the METRIC_EXPORT_INTERVAL variable to be 20000 milliseconds, 20 seconds. Fixes issue: #202
---------
  • Loading branch information
BusinessFawn authored Sep 11, 2024
1 parent c3d52f7 commit 0dbe25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudrun-malware-scanner/metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const COUNTER_ATTRIBUTE_NAMES = {
const COUNTERS = new Map();

const METRIC_EXPORT_INTERVAL = parseInt(
process.env.EXPORT_INTERVAL || '20',
process.env.EXPORT_INTERVAL || '20000',
10,
);

Expand Down

0 comments on commit 0dbe25f

Please sign in to comment.