We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e9ad81 commit 818b93cCopy full SHA for 818b93c
trunk/web/bigmodel.php
@@ -89,6 +89,7 @@
89
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
90
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
91
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
92
+curl_setopt($ch, CURLOPT_TIMEOUT, 30);
93
// 执行cURL会话
94
$response = curl_exec($ch);
95
// 检查是否有错误发生
0 commit comments