Skip to content

Commit 93ba778

Browse files
authored
Merge pull request #103 from kagg-design/increase-timeout
Increase timeout for non-blocking request
2 parents 9f49038 + 6477eea commit 93ba778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/wp-async-request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected function get_post_args() {
139139
}
140140

141141
$args = array(
142-
'timeout' => 0.01,
142+
'timeout' => 5,
143143
'blocking' => false,
144144
'body' => $this->data,
145145
'cookies' => $_COOKIE, // Passing cookies ensures request is performed as initiating user.

0 commit comments

Comments
 (0)