Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 07166b5

Browse files
committed
fix api call count cron fallback calculation
1 parent 65e3723 commit 07166b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/utils/queryUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ export function mapQueryToDailyCallCount (query) {
1919
}
2020

2121
// otherwise, fallback to refresh interval
22-
return Math.floor(1440 / refreshInterval); // seconds per day / scheduling interval in seconds
22+
return Math.floor(86400 / refreshInterval); // seconds per day / scheduling interval in seconds
2323
}

0 commit comments

Comments
 (0)