Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fab1df4

Browse files
committed
properly set non-blocking mode in dmq-sender
1 parent 5430ec9 commit fab1df4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dmq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,7 @@ dmq_sender_main(Datum main_arg)
676676
{
677677
conns[conn_id].state = Active;
678678
DeleteWaitEvent(set, event.pos);
679+
PQsetnonblocking(conns[conn_id].pgconn, 1);
679680

680681
mtm_log(DmqStateFinal,
681682
"[DMQ] Connected to %s",

0 commit comments

Comments
 (0)