@andersbakken/fisk 4.0.6 → 4.0.9
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/builder/fisk-builder.js
CHANGED
|
@@ -55104,7 +55104,9 @@ function getFromCache(job, cb) {
|
|
|
55104
55104
|
const environments = {};
|
|
55105
55105
|
const client = new Client(option, common.Version);
|
|
55106
55106
|
client.on("objectCache", (enabled) => {
|
|
55107
|
-
const
|
|
55107
|
+
const size = option("object-cache-size");
|
|
55108
|
+
const objectCacheSize = typeof size === "number" ? size : bytesExports.parse(String(size));
|
|
55109
|
+
console.log("got object cache", enabled, objectCacheSize, option("object-cache-size"));
|
|
55108
55110
|
if (enabled && objectCacheSize) {
|
|
55109
55111
|
const objectCacheDir = stringOrUndefined(option("object-cache-dir")) || path__default["default"].join(common.cacheDir(), "objectcache");
|
|
55110
55112
|
objectCache = new ObjectCache(objectCacheDir, objectCacheSize, option.int("object-cache-purge-size") || objectCacheSize);
|
package/package.json
CHANGED
|
@@ -53477,9 +53477,9 @@ var options = function(options, argv) {
|
|
|
53477
53477
|
};
|
|
53478
53478
|
|
|
53479
53479
|
const option = options({
|
|
53480
|
-
prefix: "fisk/
|
|
53480
|
+
prefix: "fisk/scheduler",
|
|
53481
53481
|
noApplicationPath: true,
|
|
53482
|
-
additionalFiles: ["fisk/
|
|
53482
|
+
additionalFiles: ["fisk/scheduler.conf.override"]
|
|
53483
53483
|
});
|
|
53484
53484
|
const common = common$1(option);
|
|
53485
53485
|
const server = new Server(option, common.Version);
|