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:
Geoff Cox 2018-01-31 17:17:14 -08:00 committed by GitHub
parent f83e1d0773
commit bac8a620cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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 = {};