/**
* @see JobQueue::doBatchPush()
- * @param array $jobs
+ * @param IJobSpecification[] $jobs
* @param int $flags
* @return void
* @throws JobQueueError
protected function getConnection() {
$conn = $this->redisPool->getConnection( $this->server );
if ( !$conn ) {
- throw new JobQueueConnectionError( "Unable to connect to redis server." );
+ throw new JobQueueConnectionError(
+ "Unable to connect to redis server {$this->server}." );
}
return $conn;