From 84209c2433d13df5ff4bdd7019ca249371fdd27d Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 13 May 2022 23:59:00 -0600 Subject: [PATCH 1/2] Remove arbitrary metro url redirect timeout --- app/Http/Controllers/SpaController.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Http/Controllers/SpaController.php b/app/Http/Controllers/SpaController.php index 62f5177b2..4cb62e73d 100644 --- a/app/Http/Controllers/SpaController.php +++ b/app/Http/Controllers/SpaController.php @@ -35,7 +35,6 @@ class SpaController extends Controller isset($post['local']) && $post['local'] === true ) { - sleep(5); return redirect($post['url']); } @@ -55,8 +54,6 @@ class SpaController extends Controller $account = AccountService::get($id); - sleep(5); - if($account && isset($account['url']) && $account['local']) { return redirect($account['url']); } From 2066c36fef53dfae262d763c160312cdc0fc71cc Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 14 May 2022 00:00:11 -0600 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b0512a7d..bb7ca5aa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - Enforce UTC in incoming activities ([18931a1f](https://github.com/pixelfed/pixelfed/commit/18931a1f)) - Add storage flags to admin dashboard diagnostics ([#3444](https://github.com/pixelfed/pixelfed/pull/3444)) - Hardcode UTC application timezone to prevent timezone issues ([b0d2c5e1](https://github.com/pixelfed/pixelfed/commit/b0d2c5e1)) +- Remove arbitrary metro url redirect timeout ([84209c24](https://github.com/pixelfed/pixelfed/commit/84209c24)) ## [v0.11.3 (2022-05-09)](https://github.com/pixelfed/pixelfed/compare/v0.11.2...v0.11.3)