1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

Update InstanceCrawlPipeline, remove unused variable

This commit is contained in:
Daniel Supernault 2021-09-03 23:00:30 -06:00
parent 588384543b
commit e73cf531cb
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -34,7 +34,7 @@ class InstanceCrawlPipeline implements ShouldQueue
*/
public function handle()
{
Instance::whereNull('last_crawled_at')->whereNull('software')->chunk(50, function($instances) use($headers) {
Instance::whereNull('last_crawled_at')->whereNull('software')->chunk(50, function($instances) {
foreach($instances as $instance) {
FetchNodeinfoPipeline::dispatch($instance)->onQueue('low');
}