Skip to content

Commit da874db

Browse files
committed
Nonblocking connection to Unix sockets bandaid.
1 parent 1fcd466 commit da874db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Cluster.pm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ sub init
103103
104104
multimaster.binary_basetypes = ${binary_basetypes}
105105
106+
# There seems to be a weird issue with nonblocking connection to Unix
107+
# sockets: rarely (during consenquent restart in the beginning of
108+
# 001_regress) connection attempt hangs, as if we got EAGAIN but
109+
# were never notified that the socket is ready. Let's see if this
110+
# covers it up.
111+
multimaster.connect_timeout = 10
112+
106113
# uncomment to get extensive logging for debugging
107114
108115
# multimaster.TxTrace_log_level = LOG

0 commit comments

Comments
 (0)