Skip to content

Commit

Permalink
Disable actcache by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonnelldean committed Aug 26, 2016
1 parent efe79cb commit 3381f96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
## 3.0: 2016-08-26


* Refactored 'old' logging into it's own external plugin; seneca-legacy-logger.
* Added new adaptor based JSON logging. External loggers can now be used with Seneca.
* Created new 'built-in' logger which is used as the default logger if none are provided.
Expand All @@ -10,6 +9,7 @@
* Exposed parsepattern function via seneca.util.parsepattern as required by seneca-chain to function.
* Removed all 'dead' code marked legacy. Updated other parts of codebase with legacy comments for v.next.
* Removed default settings for seneca-admin as it is not a default loaded plugin.
* Set `options.actcache.active` to be false by default. Disables actcache feature by default.
* Moved `close_signals` from `options.internal` to `options.system`.
* Moved `catchall` from `options.internal` to `options.system`.
* Removed `options.schema` as it was only partially checking and needs a rethink.
Expand Down
2 changes: 1 addition & 1 deletion seneca.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var internals = {

// Action cache. Makes inbound messages idempotent.
actcache: {
active: true,
active: false,
size: 11111
},

Expand Down
2 changes: 1 addition & 1 deletion test/seneca.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ describe('seneca', function () {
})

it('act-cache', function (done) {
var si = Seneca(testopts)
var si = Seneca(testopts, {actcache: {active: true}})
si.options({errhandler: done})

si.use('entity')
Expand Down

0 comments on commit 3381f96

Please sign in to comment.