0 follower

Trait yii\mutex\RetryAcquireTrait

Implemented byyii\mutex\FileMutex, yii\mutex\PgsqlMutex
Source Code https://github.com/yiisoft/yii2/blob/master/framework/mutex/RetryAcquireTrait.php

Trait RetryAcquireTrait.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$retryDelay integer Number of milliseconds between each try in \yii\mutex\acquire() until specified timeout times out. yii\mutex\RetryAcquireTrait

Property Details

$retryDelay public property (available since version 2.0.16)

Number of milliseconds between each try in \yii\mutex\acquire() until specified timeout times out. By default it is 50 milliseconds - it means that \yii\mutex\acquire() may try acquire lock up to 20 times per second.

public integer $retryDelay 50