swoole-framwork/core/annotations/Lock.php
2024-05-22 15:50:08 +08:00

18 lines
272 B
PHP

<?php
namespace Core\annotations;
use Doctrine\Common\Annotations\Annotation\Target;
/**
* @Annotation
* @Target({"METHOD"})
*/
class Lock
{
public $prefix = '';
public $key = '';
public $retry = 3;//重试次数
public $expire = 30;//重试次数
}