Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Removing noisy error log
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehul24 authored Jan 31, 2020
1 parent 8281f15 commit 0b4ef4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zynga/Framework/Lockable/Cache/V1/Driver/Caching.hh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class Caching extends FactoryDriverBase implements DriverInterface {
}

// Don't care about the first lock try. Only log an error for subsequent ones.
error_log('JEO pgData::lock storable=' . get_class($obj) . ' key=' . $lockKey . ' lockRetryCount=' . $lockRetryCount . ' obj=' . $obj->export()->asJSON() . ' backtrace=' . json_encode(debug_backtrace()));
// error_log('JEO pgData::lock storable=' . get_class($obj) . ' key=' . $lockKey . ' lockRetryCount=' . $lockRetryCount . ' obj=' . $obj->export()->asJSON() . ' backtrace=' . json_encode(debug_backtrace()));
// if failed to get a lock, sleep and try again
usleep(self::LOCK_TIMEOUT_AMOUNT_MICRO_SECONDS);
}
Expand Down

0 comments on commit 0b4ef4f

Please sign in to comment.