Commit f1df3e45 authored by Nigel Kukard's avatar Nigel Kukard

microtime(true) is a flot with a decimal for microseconds

parent 20c71670
......@@ -54,7 +54,7 @@ class Net_EPP_Protocol {
// Update metadata
$info = stream_get_meta_data($socket);
$time_end = microtime(true);
if (($time_end - $time_start) > 10000000) {
if (($time_end - $time_start) > 10) {
throw new exception('Timeout while reading from EPP Server');
}
}
......@@ -93,7 +93,7 @@ class Net_EPP_Protocol {
// Update metadata
$info = stream_get_meta_data($socket);
$time_end = microtime(true);
if (($time_end - $time_start) > 10000000) {
if (($time_end - $time_start) > 10) {
throw new exception('Timeout while writing to EPP Server');
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment