Trait yii\mutex\RetryAcquireTrait
| Implemented by | yii\ |
|---|---|
| Available since version | 2.0.16 |
| Source Code | https://github.com/yiisoft/yii2/blob/master/framework/mutex/RetryAcquireTrait.php |
Trait RetryAcquireTrait.
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $retryDelay | integer | Number of milliseconds between each try in acquire() until specified timeout times out. | yii\ |
Property Details
Number of milliseconds between each try in acquire() until specified timeout times out. By default it is 50 milliseconds - it means that acquire() may try acquire lock up to 20 times per second.
User Contributed Notes
Leave a comment
Join the conversation to share a note.