mirror of
https://github.com/donl/slouch.git
synced 2026-05-25 22:07:24 -06:00
fix(reconnect): reconnect even when no data (#73)
* fix(reconnect): reconnect even when no data * test(db): allow time to reconnect
This commit is contained in:
parent
f83e1d0773
commit
bac8a620cb
2 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@
|
|||
"dependencies": {
|
||||
"backoff-promise": "^0.0.3",
|
||||
"bluebird": "^3.5.0",
|
||||
"quelle": "^1.0.2",
|
||||
"quelle": "^1.0.3",
|
||||
"request": "^2.81.0",
|
||||
"sporks": "^1.0.0",
|
||||
"squadron": "^0.0.4"
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ describe('db', function () {
|
|||
it('changes should force reconnect', function () {
|
||||
|
||||
// Force a reconnect after each item
|
||||
slouch.forceReconnectAfterMilliseconds = 1;
|
||||
slouch.forceReconnectAfterMilliseconds = 100;
|
||||
|
||||
changes = {};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue