From 6a7e7085bd65dd543689ded80b95023ebf4d415e Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 26 Jan 2023 21:02:39 +0800 Subject: [PATCH] Bump up retries Slow servers are slow. --- src/pages/status.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/status.jsx b/src/pages/status.jsx index 61c97a4b..8dc99a6d 100644 --- a/src/pages/status.jsx +++ b/src/pages/status.jsx @@ -90,10 +90,10 @@ function StatusPage() { (async () => { const heroFetch = () => pRetry(() => masto.v1.statuses.fetch(id), { - retries: 3, + retries: 4, }); const contextFetch = pRetry(() => masto.v1.statuses.fetchContext(id), { - retries: 2, + retries: 8, }); const hasStatus = !!snapStates.statuses[id];