AsyncServerSocket: more tries for binding to a port
authorMark McDuff <mcduff@fb.com>
Mon, 1 Jun 2015 21:57:10 +0000 (14:57 -0700)
committerNoam Lerner <noamler@fb.com>
Wed, 3 Jun 2015 16:54:03 +0000 (09:54 -0700)
commitff7e12b66345f2b70d1c7657f72bd4c35518bd10
treef2e3146882d8f775fd0f32eb9807c0affcd96a56
parent5a2591ef0afd71a3fd6998907fbb06c9385de329
AsyncServerSocket: more tries for binding to a port

Summary: User reports of intermittent failures at 5.  Setting up a server is expensive.  Binding to a socket is pretty cheap.  Why not 25 tries?  Why not 100?

Test Plan: hope

Reviewed By: alandau@fb.com

Subscribers: folly-diffs@, yfeldblum, chalfant

FB internal diff: D2116187

Signature: t1:2116187:1433199889:09d6916eddf8521f120894ce361c3e1a96905c90
folly/io/async/AsyncServerSocket.cpp