设置取得黑名单超时

pull/43/head
david082321 1 year ago committed by GitHub
parent 281015d00d
commit d9c291bee3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,6 +50,7 @@ function get_blacklist($uid) {
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_POST, false);
curl_setopt($ch, CURLOPT_TIMEOUT, 3);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
"User-Agent: ".AGENT
));

Loading…
Cancel
Save