From e73cf531cb5e655073fa6a82e0151444ef82dc7e Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 3 Sep 2021 23:00:30 -0600 Subject: [PATCH 1/2] Update InstanceCrawlPipeline, remove unused variable --- .../InstanceCrawlPipeline.php | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/app/Jobs/InstancePipeline/InstanceCrawlPipeline.php b/app/Jobs/InstancePipeline/InstanceCrawlPipeline.php index f45355f9c..cbba078d9 100644 --- a/app/Jobs/InstancePipeline/InstanceCrawlPipeline.php +++ b/app/Jobs/InstancePipeline/InstanceCrawlPipeline.php @@ -15,29 +15,29 @@ use App\Services\NodeinfoService; class InstanceCrawlPipeline implements ShouldQueue { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; + use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - /** - * Create a new job instance. - * - * @return void - */ - public function __construct() - { - // - } + /** + * Create a new job instance. + * + * @return void + */ + public function __construct() + { + // + } - /** - * Execute the job. - * - * @return void - */ - public function handle() - { - Instance::whereNull('last_crawled_at')->whereNull('software')->chunk(50, function($instances) use($headers) { + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + Instance::whereNull('last_crawled_at')->whereNull('software')->chunk(50, function($instances) { foreach($instances as $instance) { FetchNodeinfoPipeline::dispatch($instance)->onQueue('low'); } }); - } + } } From 6b9197cca66b4c8b3e5d1df391e22327204faa29 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 3 Sep 2021 23:00:58 -0600 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fce31c85..a692e1015 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -100,6 +100,10 @@ - Updated status.reply view, fix archived post leakage. ([4fb3d1fa](https://github.com/pixelfed/pixelfed/commit/4fb3d1fa)) - Updated PostComponents, re-add time to timestamp. ([c5281dcd](https://github.com/pixelfed/pixelfed/commit/c5281dcd)) - Updated follow intent, fix follower count leak. ([03199e2f](https://github.com/pixelfed/pixelfed/commit/03199e2f)) +- Updated Status model, add poll relation and allow up to 2 urls to autolink. ([2593cdee](https://github.com/pixelfed/pixelfed/commit/2593cdee)) +- Updated snowflake id generation to improve randomness. ([e5aea490](https://github.com/pixelfed/pixelfed/commit/e5aea490)) +- Updated Timeline, remove recent posts. ([7641b731](https://github.com/pixelfed/pixelfed/commit/7641b731)) +- Updated InstanceCrawlPipeline, remove unused variable. ([e73cf531](https://github.com/pixelfed/pixelfed/commit/e73cf531)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.0 (2021-06-01)](https://github.com/pixelfed/pixelfed/compare/v0.10.10...v0.11.0)