Browse Source

Fix lint error in Fibers size setting

Lauri Ojansivu 7 years ago
parent
commit
7cc930f6b9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      server/authentication.js

+ 2 - 1
server/authentication.js

@@ -1,10 +1,11 @@
+import Fiber from 'fibers';
+
 Meteor.startup(() => {
 Meteor.startup(() => {
 
 
   // Node Fibers 100% CPU usage issue
   // Node Fibers 100% CPU usage issue
   // https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-381453161
   // https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-381453161
   // https://github.com/meteor/meteor/issues/9796#issuecomment-381676326
   // https://github.com/meteor/meteor/issues/9796#issuecomment-381676326
   // https://github.com/sandstorm-io/sandstorm/blob/0f1fec013fe7208ed0fd97eb88b31b77e3c61f42/shell/server/00-startup.js#L99-L129
   // https://github.com/sandstorm-io/sandstorm/blob/0f1fec013fe7208ed0fd97eb88b31b77e3c61f42/shell/server/00-startup.js#L99-L129
-  import Fiber from "fibers";
   Fiber.poolSize = 1e9;
   Fiber.poolSize = 1e9;
 
 
   Accounts.validateLoginAttempt(function (options) {
   Accounts.validateLoginAttempt(function (options) {