You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -339,7 +339,19 @@ SET http.curlopt_tcp_keepalive = 1;
339
339
By default a 5 second timeout is set for the completion of a request. If a different timeout is desired the following GUC variable can be used to set it in milliseconds:
340
340
341
341
```sql
342
-
SEThttp.curlopt_timeout_msec=200;
342
+
SEThttp.curlopt_timeout_ms=200;
343
+
```
344
+
345
+
You can also change the timeout for the connection, to avoid waiting for too long when a service is unavailable:
346
+
347
+
```sql
348
+
SEThttp.curlopt_connecttimeout_ms=100;
349
+
```
350
+
351
+
When a timeout occurs during a request, a SQL error will be raised:
352
+
353
+
```sql
354
+
ERROR: Operation timed out after 200 milliseconds with 0 bytes received
0 commit comments