~singpolyma/xmpp-certwatch

b8ed24d7f730f5283ef37e47cf6ea317118152c7 — Stephen Paul Weber 6 months ago b86117c
Double the timeout, sometimes Tor is slow
1 files changed, 1 insertions(+), 1 deletions(-)

M common/common.go
M common/common.go => common/common.go +1 -1
@@ 33,7 33,7 @@ func DialXMPP(ctx context.Context, addr jid.JID, features ...xmpp.StreamFeature)
func getDaneConfig(sni string, appname string, service string, ip net.IP, port uint16) *dane.Config {
	config := dane.NewConfig(sni, ip, int(port))
	config.SetDiagMode(true)
	config.TimeoutTCP = 10
	config.TimeoutTCP = 20
	config.DANE = true
	config.PKIX = true
	if appname != "" {