Fixed corrupted JSON response in API due to variable scoping
This commit is contained in:
1 parent
72392797d1
commit
c5a8a83c53
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -512,7 +512,7 @@ if cluster.isMaster
|
||||
, config.WORKER_RESPAWN_TIME)
|
||||
)
|
||||
|
||||
for i in [1 .. numCPUs]
|
||||
for [1 .. numCPUs]
|
||||
cluster.fork()
|
||||
else
|
||||
options = {
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ if cluster.isMaster
|
||||
, config.WORKER_RESPAWN_TIME)
|
||||
)
|
||||
|
||||
for i in [1 .. numCPUs]
|
||||
for [1 .. numCPUs]
|
||||
cluster.fork()
|
||||
else
|
||||
server = http.createServer (request, response) ->
|
||||
|
||||
Reference in new issue
Block a user