mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 16:53:42 -05:00
10 lines
216 B
CoffeeScript
10 lines
216 B
CoffeeScript
|
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()
|