mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
avoid clobbering the existing port variable
This commit is contained in:
parent
e286aede4e
commit
07401c5a45
1 changed files with 2 additions and 2 deletions
|
@ -158,8 +158,8 @@ server = net.createServer (socket) ->
|
||||||
socket.write("up, #{freeLoadPercentage}%\n", "ASCII")
|
socket.write("up, #{freeLoadPercentage}%\n", "ASCII")
|
||||||
socket.end()
|
socket.end()
|
||||||
|
|
||||||
server.listen port = (Settings.internal?.clsi?.load_port or 3044), ->
|
server.listen load_port = (Settings.internal?.clsi?.load_port or 3044), ->
|
||||||
logger.info "tcp load endpoint listening on port #{port}"
|
logger.info "tcp load endpoint listening on port #{load_port}"
|
||||||
# telnet 127.0.0.1 3044
|
# telnet 127.0.0.1 3044
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue