@cubejs-backend/shared
Advanced tools
Comparing version 0.27.45 to 0.27.46
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.27.46](https://github.com/cube-js/cube.js/compare/v0.27.45...v0.27.46) (2021-07-01) | ||
### Bug Fixes | ||
* Priorities for REFRESH_WORKER/SCHEDULED_REFRESH/SCHEDULED_REFRESH_TIMER ([176cdfd](https://github.com/cube-js/cube.js/commit/176cdfd00e63d8d7d6715e9079ad01edae1eb84a)) | ||
## [0.27.45](https://github.com/cube-js/cube.js/compare/v0.27.44...v0.27.45) (2021-06-30) | ||
@@ -8,0 +19,0 @@ |
@@ -79,7 +79,8 @@ "use strict"; | ||
} | ||
// It's true by default for development | ||
return process.env.NODE_ENV !== 'production'; | ||
}, | ||
// @deprecated Please use CUBEJS_REFRESH_WORKER | ||
refreshTimer: () => { | ||
// @deprecated Please use CUBEJS_REFRESH_WORKER | ||
const scheduledRefresh = env_var_1.get('CUBEJS_SCHEDULED_REFRESH').asBool(); | ||
if (scheduledRefresh !== undefined) { | ||
return scheduledRefresh; | ||
} | ||
// @deprecated Please use CUBEJS_REFRESH_WORKER | ||
if (process.env.CUBEJS_SCHEDULED_REFRESH_TIMER) { | ||
@@ -91,5 +92,2 @@ return asBoolOrTime(process.env.CUBEJS_SCHEDULED_REFRESH_TIMER, 'CUBEJS_SCHEDULED_REFRESH_TIMER'); | ||
}, | ||
// @deprecated Please use CUBEJS_REFRESH_WORKER | ||
scheduledRefresh: () => env_var_1.get('CUBEJS_SCHEDULED_REFRESH') | ||
.asBool(), | ||
gracefulShutdown: () => env_var_1.get('CUBEJS_GRACEFUL_SHUTDOWN') | ||
@@ -96,0 +94,0 @@ .asIntPositive(), |
{ | ||
"name": "@cubejs-backend/shared", | ||
"version": "0.27.45", | ||
"version": "0.27.46", | ||
"description": "Shared code for Cube.js backend packages", | ||
@@ -66,3 +66,3 @@ "main": "dist/src/index.js", | ||
}, | ||
"gitHead": "ba447a830088f6f7b80399d9ee4e5b4dc642d474" | ||
"gitHead": "58fb0f90d34e3328fb14913264e740d750a83c28" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119865
17
1281