@nxtedition/lib 21.3.11 → 21.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app.js +3 -3
- package/package.json +1 -1
package/app.js
CHANGED
|
@@ -253,9 +253,9 @@ export function makeApp(appConfig, onTerminate) {
|
|
|
253
253
|
let toobusy
|
|
254
254
|
|
|
255
255
|
if (appConfig.toobusy) {
|
|
256
|
-
const resolution = 10
|
|
257
|
-
const interval = 500
|
|
258
|
-
const maxLag = 100
|
|
256
|
+
const resolution = appConfig.toobusy.resolution ?? 10
|
|
257
|
+
const interval = appConfig.toobusy.interval ?? 500
|
|
258
|
+
const maxLag = appConfig.toobusy.maxLag ?? 100
|
|
259
259
|
const id = xuid()
|
|
260
260
|
|
|
261
261
|
const currentLag$ = new rxjs.BehaviorSubject(0)
|