@nsshunt/stsconfig 1.6.1 → 1.7.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/package.json +1 -1
- package/stsconfig.js +1 -1
package/package.json
CHANGED
package/stsconfig.js
CHANGED
|
@@ -49,7 +49,7 @@ const defconfig =
|
|
|
49
49
|
,poolSize: (process.env.POOL_SIZE === undefined ? 20 : parseInt(process.env.POOL_SIZE))
|
|
50
50
|
// Maximum number of CPUs (incl. logical processors) to use within the Microservice.
|
|
51
51
|
// Use -1 to use all available within the runtime container. Each CPU will spawn a node work thread.
|
|
52
|
-
,useCPUs: (process.env.MAX_CPU === undefined ? -1 :
|
|
52
|
+
,useCPUs: (process.env.MAX_CPU === undefined ? -1 : parseFloat(process.env.MAX_CPU))
|
|
53
53
|
// Automatically re-spawn a worker thread if one dies.
|
|
54
54
|
,respawnOnFail: (process.env.RESPAWN === undefined ? false : (process.env.RESPAWN === "true" ? true : false ))
|
|
55
55
|
// Default number of entries to create for a fresh database.
|