aboutsummaryrefslogtreecommitdiffstats
path: root/erts/epmd
diff options
context:
space:
mode:
authorAlexey Lebedeff <[email protected]>2015-12-14 15:08:15 +0300
committerAlexey Lebedeff <[email protected]>2015-12-14 15:08:15 +0300
commit128fc752a45d51beb71c1aea4d5433efd00ac02a (patch)
tree45d5a38004a10ee3df00544512ad556c28ca6a3f /erts/epmd
parenta16b7d63cc665dca90305b146c15de04487808db (diff)
downloadotp-128fc752a45d51beb71c1aea4d5433efd00ac02a.tar.gz
otp-128fc752a45d51beb71c1aea4d5433efd00ac02a.tar.bz2
otp-128fc752a45d51beb71c1aea4d5433efd00ac02a.zip
Don't wait for twice the delay_write timeout
This happens only during processing ALIVE2 request. reply() already performs the same delay as in the deleted code.
Diffstat (limited to 'erts/epmd')
-rw-r--r--erts/epmd/src/epmd_srv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/erts/epmd/src/epmd_srv.c b/erts/epmd/src/epmd_srv.c
index 8c8d7304f2..5b58554590 100644
--- a/erts/epmd/src/epmd_srv.c
+++ b/erts/epmd/src/epmd_srv.c
@@ -700,9 +700,6 @@ static void do_request(g, fd, s, buf, bsize)
put_int16(node->creation, wbuf+2);
}
- if (g->delay_write) /* Test of busy server */
- sleep(g->delay_write);
-
if (reply(g, fd, wbuf, 4) != 4)
{
dbg_tty_printf(g,1,"** failed to send ALIVE2_RESP for \"%s\"",