diff --git a/modules/registrars/cozaepp/Net/EPP/Protocol.php b/modules/registrars/cozaepp/Net/EPP/Protocol.php index 8c07df9ae59edb370585d0074636a6b0a6243e60..09088e9105941c565d4af08e9fb4ed1f40b90659 100644 --- a/modules/registrars/cozaepp/Net/EPP/Protocol.php +++ b/modules/registrars/cozaepp/Net/EPP/Protocol.php @@ -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'); } }