@param float $interval 爬取任务的间隔时间,单位:秒,支持小数,最小支持0.001秒。
设置消费任务的间隔时间,即:爬取任务的间隔时间。
//设置爬取任务间隔时间为2秒 $worker->setTaskCrawlInterval(2);