Bump up retries
Slow servers are slow.
This commit is contained in:
parent
dda83c7834
commit
6a7e7085bd
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue