Skip to content

Commit 241ecb7

Browse files
committed
Let's not block the process
1 parent 2f36dda commit 241ecb7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Query/Executor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ protected function generateId()
100100
protected function createConnection($nameserver, $transport)
101101
{
102102
$fd = stream_socket_client("$transport://$nameserver");
103+
stream_set_blocking($fd, 0);
103104
$conn = new Connection($fd, $this->loop);
104105

105106
return $conn;

0 commit comments

Comments
 (0)