[dovecot/core] c2145f: lib: Increase net_connect*() EADDRNOTAVAIL retries...

GitHub noreply at github.com
Tue Apr 4 14:30:12 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: c2145f2060c7cc5aec1a6aec54064552bc50d53e
      https://github.com/dovecot/core/commit/c2145f2060c7cc5aec1a6aec54064552bc50d53e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-04 (Tue, 04 Apr 2017)

  Changed paths:
    M src/lib/net.c

  Log Message:
  -----------
  lib: Increase net_connect*() EADDRNOTAVAIL retries to 20

4 is too little, since on busy systems it's sometimes failing. These calls
should be pretty cheap, so lets try if 20 is enough.

It would be nice if this was configurable, but the only practical way right
now would be to use environment variable, which is a bit ugly. We could
try it next if 20 is still not enough.




More information about the dovecot-cvs mailing list