aboutsummaryrefslogtreecommitdiffstats
path: root/src/ranch_acceptor.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-12-18 16:05:51 +0100
committerLoïc Hoguin <[email protected]>2015-12-18 16:05:51 +0100
commitae8ff1fc0fcac71f24958962a362800775b43b41 (patch)
treef3fcc390d0bdd8096685ea2eeed4d4ea4cfe9ca6 /src/ranch_acceptor.erl
parentcfb5386fafaa8ba75bb4720403e90b2581643f9f (diff)
downloadranch-ae8ff1fc0fcac71f24958962a362800775b43b41.tar.gz
ranch-ae8ff1fc0fcac71f24958962a362800775b43b41.tar.bz2
ranch-ae8ff1fc0fcac71f24958962a362800775b43b41.zip
Use the default restart intensity in all supervisors
This reduces from 10 restarts in 10 seconds to 1 restart in 5 seconds. This is the new default in OTP 18, and it fits the kinds of processes that Ranch deals with: * Supervisors: default makes sense. * Acceptors: they crash on socket error. They'll probably crash again if the socket didn't change. * Connection processes: they are never restarted.
Diffstat (limited to 'src/ranch_acceptor.erl')
0 files changed, 0 insertions, 0 deletions