@twin.org/node-core 0.9.4-next.4 → 0.9.4-next.5
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/dist/es/builders/engineEnvBuilder.js +6 -6
- package/dist/es/builders/engineEnvBuilder.js.map +1 -1
- package/dist/es/models/IEngineEnvironmentVariables.js.map +1 -1
- package/dist/es/models/engineEnvironmentVariableKeys.js +1 -1
- package/dist/es/models/engineEnvironmentVariableKeys.js.map +1 -1
- package/dist/es/node.js +1 -1
- package/dist/es/node.js.map +1 -1
- package/dist/types/models/IEngineEnvironmentVariables.d.ts +5 -5
- package/docs/changelog.md +9 -0
- package/docs/reference/interfaces/IEngineEnvironmentVariables.md +9 -9
- package/package.json +1 -1
|
@@ -393,8 +393,7 @@ async function configureLogging(coreConfig, envVars) {
|
|
|
393
393
|
retainForMs: envMinToMs(envVars, "loggingRetainFor"),
|
|
394
394
|
maxEntries: envCount(envVars, "loggingMaxEntries"),
|
|
395
395
|
retentionIntervalMs: envMinToMs(envVars, "loggingRetentionInterval"),
|
|
396
|
-
retentionBatchSize: envCount(envVars, "loggingRetentionBatchSize")
|
|
397
|
-
mutexTimeoutMs: envMs(envVars, "loggingMutexTimeout")
|
|
396
|
+
retentionBatchSize: envCount(envVars, "loggingRetentionBatchSize")
|
|
398
397
|
}
|
|
399
398
|
}
|
|
400
399
|
});
|
|
@@ -431,8 +430,7 @@ async function configureLogging(coreConfig, envVars) {
|
|
|
431
430
|
directory: envVars.loggingFileDirectory ?? envVars.storageFileRoot ?? "",
|
|
432
431
|
filename: envVars.loggingFileFilename,
|
|
433
432
|
maxFileSizeBytes: envCount(envVars, "loggingFileMaxFileSizeBytes"),
|
|
434
|
-
maxRetainedFiles: envCount(envVars, "loggingFileMaxRetainedFiles")
|
|
435
|
-
mutexTimeoutMs: envMs(envVars, "loggingMutexTimeout")
|
|
433
|
+
maxRetainedFiles: envCount(envVars, "loggingFileMaxRetainedFiles")
|
|
436
434
|
}
|
|
437
435
|
}
|
|
438
436
|
});
|
|
@@ -511,7 +509,8 @@ async function configureBackgroundTask(coreConfig, envVars) {
|
|
|
511
509
|
taskInterval: envMs(envVars, "backgroundTaskInterval"),
|
|
512
510
|
retryInterval: envMs(envVars, "backgroundTaskRetryInterval"),
|
|
513
511
|
cleanupInterval: envMs(envVars, "backgroundTaskCleanupInterval"),
|
|
514
|
-
workerShutdownTimeout: envMs(envVars, "backgroundTaskWorkerShutdownTimeout")
|
|
512
|
+
workerShutdownTimeout: envMs(envVars, "backgroundTaskWorkerShutdownTimeout"),
|
|
513
|
+
maxDispatchCount: envCount(envVars, "backgroundTaskMaxDispatchCount")
|
|
515
514
|
}
|
|
516
515
|
}
|
|
517
516
|
});
|
|
@@ -1747,6 +1746,7 @@ export function isTracingEnabled(envVars) {
|
|
|
1747
1746
|
export function isMailboxEnabled(envVars) {
|
|
1748
1747
|
return commaSeparatedListToArray(envVars.emailProtocolConnector).some(t => t === EmailProtocolConnectorType.Imap ||
|
|
1749
1748
|
t === EmailProtocolConnectorType.Pop3 ||
|
|
1750
|
-
t === EmailProtocolConnectorType.Gmail
|
|
1749
|
+
t === EmailProtocolConnectorType.Gmail ||
|
|
1750
|
+
t === EmailProtocolConnectorType.Outlook);
|
|
1751
1751
|
}
|
|
1752
1752
|
//# sourceMappingURL=engineEnvBuilder.js.map
|