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 ae32519 commit caecc51Copy full SHA for caecc51
packages/cubejs-server-core/core/index.js
@@ -227,7 +227,8 @@ class CubejsServerCore {
227
if (this.scheduledRefreshTimer) {
228
setInterval(
229
() => this.runScheduledRefresh(),
230
- typeof this.scheduledRefreshTimer === 'number' || this.scheduledRefreshTimer.match(/^\d+$/) ?
+ typeof this.scheduledRefreshTimer === 'number' ||
231
+ typeof this.scheduledRefreshTimer === 'string' && this.scheduledRefreshTimer.match(/^\d+$/) ?
232
(this.scheduledRefreshTimer * 1000) :
233
5000
234
);
0 commit comments