Fixed corrupted JSON response in API due to variable scoping

This commit is contained in:
Zaid Abdulla committed 2014-02-27 14:08:39 +03:00
1 parent 72392797d1
commit c5a8a83c53
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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) ->