samanbayaka 0.0.27 → 0.0.29
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/commit-hash.mjs +1 -1
- package/helper/mol-built-in/HybridCacher.mjs +2 -2
- package/index.mjs +1 -1
- package/package.json +1 -1
package/commit-hash.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const COMMIT_HASH = '
|
|
1
|
+
export const COMMIT_HASH = '2a9c18c';
|
|
@@ -9,11 +9,11 @@ export default class HybridCacher extends Cachers.Base {
|
|
|
9
9
|
|
|
10
10
|
this.memory = new Cachers.MemoryLRU({
|
|
11
11
|
max: opts.max || 1000,
|
|
12
|
-
ttl: opts.ttl
|
|
12
|
+
ttl: opts.ttl[1]
|
|
13
13
|
})
|
|
14
14
|
|
|
15
15
|
this.redis = new Cachers.Redis({
|
|
16
|
-
ttl: opts.ttl
|
|
16
|
+
ttl: opts.ttl[0],
|
|
17
17
|
redis: opts.redis
|
|
18
18
|
})
|
|
19
19
|
}
|
package/index.mjs
CHANGED
|
@@ -81,7 +81,7 @@ const createSbkServices = async(schemas, isREPL = false) => {
|
|
|
81
81
|
const configRevisionListner = {
|
|
82
82
|
"config.revisions": (ctx) => {
|
|
83
83
|
setImmediate(async () => {
|
|
84
|
-
ctx.broker.logger.debug({message: "Config revision received"}, ctx.params)
|
|
84
|
+
ctx.broker.logger.debug({message: "-----------------------------------------Config revision received"}, ctx.params)
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* Restart the service when the global configuration is updated
|