aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/app.js b/lib/app.js
index 13d947e..d2a029b 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -61,9 +61,12 @@ App.prototype.go = function () {
pull.drain(function (link) {
self.aboutCache.remove(link.dest)
}, function (err) {
- if (err) self.error('about:', err)
+ if (err) throw err
})
)
+
+ // keep alive ssb client connection
+ setInterval(self.sbot.whoami, 10e3)
}
var logPrefix = '[' + pkg.name + ']'