예제 #1
0
파일: Queue.php 프로젝트: heureka/php-rq
 /**
  * @inheritdoc
  */
 public function __construct(ClientInterface $redis, $name, $options = [], Time $time = null)
 {
     parent::__construct($redis, $name, $options, $time);
     $this->clientID = sprintf('%s[%d][%d]', gethostname(), getmypid(), $this->time->now());
 }
예제 #2
0
 /**
  * @inheritdoc
  */
 public function __construct(ClientInterface $redis, $name, $options = [])
 {
     parent::__construct($redis, $name, $options);
     $this->clientID = sprintf('%s[%d][%d]', gethostname(), getmypid(), time());
 }