overleaf/services/filestore/cluster.coffee

10 lines
216 B
CoffeeScript
Raw Normal View History

2015-01-07 05:33:55 -05:00
recluster = require "recluster" # https://github.com/doxout/recluster
path = require "path"
cluster = recluster path.join(__dirname, 'app.js'), {
workers: 2,
backoff: 0,
readyWhen: "listening"
}
cluster.run()