From 69d1c3c6fb9831d958dd04ef99052de75de43237 Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 16 Mar 2017 10:49:03 -0400 Subject: increase unbox parallelism --- lib/serve.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/serve.js') diff --git a/lib/serve.js b/lib/serve.js index 89f7f09..f5101e1 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -265,7 +265,7 @@ Serve.prototype.private = function (ext) { pull( this.app.createLogStream(opts), pull.filter(isMsgEncrypted), - paramap(this.app.unboxMsg, 4), + paramap(this.app.unboxMsg, 16), pull.filter(isMsgReadable), pull.take(limit), this.renderThreadPaginated(opts, null, q), @@ -421,7 +421,7 @@ Serve.prototype.id = function (id, ext) { pull( cat([pull.once(rootMsg), self.app.sbot.links({dest: id, values: true})]), pull.unique('key'), - paramap(self.app.unboxMsg, 4), + paramap(self.app.unboxMsg, 16), pull.collect(function (err, links) { if (err) return self.respond(500, err.stack || err) pull( -- cgit v1.2.3