summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorUrban Müller2018-11-16 13:57:34 +0100
committerUrban Müller2018-11-16 13:57:34 +0100
commitc40446509e5e53530ac45847e5088f09d1804ab0 (patch)
tree5140916ba930d0728e9b89d62bac5248f15681e2 /it_url.class
parent03e493d144fb3b4e524f0d5e757d82021d1cbed8 (diff)
downloaditools-c40446509e5e53530ac45847e5088f09d1804ab0.tar.gz
itools-c40446509e5e53530ac45847e5088f09d1804ab0.tar.bz2
itools-c40446509e5e53530ac45847e5088f09d1804ab0.zip
replace horribly named function with slight less horribly named one
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_url.class b/it_url.class
index d196c54..02ac840 100644
--- a/it_url.class
+++ b/it_url.class
@@ -343,7 +343,7 @@ function get_multi($p=null)
$retries[$key] = 0;
}
- $start = microtime(true);
+ $start = gettimeofday(true);
# curl_multi loop copied from example at http://php.net/manual/en/function.curl-multi-exec.php
$active = null;
@@ -368,7 +368,7 @@ function get_multi($p=null)
$closehandle($key);
- EDC('reqtimings', $key, $info['result'], (microtime(true) - $start) * 1000);
+ EDC('reqtimings', $key, $info['result'], (gettimeofday(true) - $start) * 1000);
if ($info['result'] == CURLE_OK)
$results_unordered[$key] = $content;
else if($retries[$key]++ < $p['retries'])