[dovecot/core] 09c856: master: Wait 1 second for SIGQUITs to get handled

GitHub noreply at github.com
Tue Aug 21 21:00:07 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 09c856b4d82d2b77fa6575b6d7ec229b53091187
      https://github.com/dovecot/core/commit/09c856b4d82d2b77fa6575b6d7ec229b53091187
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-08-20 (Mon, 20 Aug 2018)

  Changed paths:
    M src/master/service-monitor.c

  Log Message:
  -----------
  master: Wait 1 second for SIGQUITs to get handled

The delay (previously 100ms, now 1s) is intended to delay our exit enough so
that the child processes have a chance to receive & handle the SIGQUITs we
just sent.  If we don't wait long enough, it is possible that we'll get
restarted before our children had the chance to stop listening on their
sockets and we'll hit "address already in use" type errors.

Increasing the delay does not fix the issue, but it masks it better.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list