diff --git a/httprl.module b/httprl.module index f928fe7..b72a251 100644 --- a/httprl.module +++ b/httprl.module @@ -997,7 +997,7 @@ function httprl_send_request($results = NULL) { // Calculate times. $elapsed_time = $now - $start_time_this_run; $start_time_this_run = $now; - $global_time = $global_timeout - (($start_time_this_run - $start_time_global) / 1000); + $global_time = $global_timeout - ($start_time_this_run - $start_time_global); // Inspect each stream, checking for timeouts and connection limits. foreach ($responses as $id => &$result) {