Skip to content

延 时任务最长能延时多长时间? #2

@laughmaker

Description

@laughmaker
/**
 * 延时入队列
 * @param $dealy
 * @param $job
 * @param string $data
 * @param $queue
 * @return mixed
 * @throws \Exception
 */
public function laterOn($dealy, $job, $data = '', $queue = null)
{
    if ($this->canPush()) {
        return $this->later($dealy, $job, $data, $queue);
    } else {
        throw new \Exception("max jobs number exceed! the max jobs number is {$this->maxJob}");
    }
}

延 时任务最长能延时多长时间?
谢谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions