Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

forcing nanotime

  • Loading branch information...
commit fdb36afe2e3a31102637b3a279814999e92afe30 1 parent 57ea9bc
Michael Pearson authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/Core.class.php
4 lib/Core.class.php
View
@@ -525,10 +525,8 @@ static public function loadConfigXML() {
static public function getTime() {
// use microtime where possible
// @todo patch thrift .so
- if (PANDRA_64) {
+ if ((PANDRA_64) || (!PANDRA_64 && !function_exists("thrift_protocol_write_binary"))) {
return round(microtime(true) * 1000000, 3);
- } else if (!PANDRA_64 && !function_exists("thrift_protocol_write_binary")) {
- return round(microtime(true) * 1000, 3);
} else {
return time();
}
Please sign in to comment.
Something went wrong with that request. Please try again.