1
This commit is contained in:
@@ -90,7 +90,7 @@ class Redis extends Component
|
||||
{
|
||||
$time = time();
|
||||
while (!$this->setNx($key, 1)) {
|
||||
if (time()- $time >= $timeout){
|
||||
if (time()- $time >= $timeout) {
|
||||
return FALSE;
|
||||
}
|
||||
usleep(1000);
|
||||
|
||||
Reference in New Issue
Block a user