summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-04-18 16:03:49 +0300
committerLauri Ojansivu <x@xet7.org>2018-04-18 16:03:49 +0300
commit7cc930f6b90ca227e6c1481672bf345e7dc8d215 (patch)
tree1aa99d418e1d7ba6d621fb0c3d29e8e910d376ae
parente9bb7e00414f495900bce570afa5219584f1d858 (diff)
downloadwekan-7cc930f6b90ca227e6c1481672bf345e7dc8d215.tar.gz
wekan-7cc930f6b90ca227e6c1481672bf345e7dc8d215.tar.bz2
wekan-7cc930f6b90ca227e6c1481672bf345e7dc8d215.zip
Fix lint error in Fibers size setting
-rw-r--r--server/authentication.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/authentication.js b/server/authentication.js
index efe95015..8059f176 100644
--- a/server/authentication.js
+++ b/server/authentication.js
@@ -1,10 +1,11 @@
+import Fiber from 'fibers';
+
Meteor.startup(() => {
// Node Fibers 100% CPU usage issue
// https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-381453161
// https://github.com/meteor/meteor/issues/9796#issuecomment-381676326
// https://github.com/sandstorm-io/sandstorm/blob/0f1fec013fe7208ed0fd97eb88b31b77e3c61f42/shell/server/00-startup.js#L99-L129
- import Fiber from "fibers";
Fiber.poolSize = 1e9;
Accounts.validateLoginAttempt(function (options) {