mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-23 09:06:23 +01:00
Bump up retries
Slow servers are slow.
This commit is contained in:
parent
dda83c7834
commit
6a7e7085bd
1 changed files with 2 additions and 2 deletions
|
@ -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