[dovecot/core] f8cd64: lib-master: Change instances.lock settings to make...

GitHub noreply at github.com
Mon Oct 23 14:30:11 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: f8cd64fc6864eb5ffc35c6d4d574191f06e26834
      https://github.com/dovecot/core/commit/f8cd64fc6864eb5ffc35c6d4d574191f06e26834
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-23 (Mon, 23 Oct 2017)

  Changed paths:
    M src/lib-master/master-instance.c

  Log Message:
  -----------
  lib-master: Change instances.lock settings to make it less likely to fail

With use_io_notify it's spending less time usleep()ing. Use also a slightly
longer timeout just in case.

If a lot of instances were started at the same time, some of them could have
failed with:
master: Error: file_dotlock_open(.../instances) failed: Resource temporarily unavailable




More information about the dovecot-cvs mailing list