File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ export function PriceChartCelo(props: PriceChartProps) {
2929
3030 const dispatch = useDispatch ( )
3131 useEffect ( ( ) => {
32- // Hacking in a delay here b.c. blockscout is unreliable when two many
33- // queries are submitted too fast
32+ // Hacking in a delay here b.c. blockscout is unreliable when
33+ // many queries are submitted too fast (overlaps with feed fetch)
3434 sleep ( DELAY_BEFORE_QUERYING )
3535 . then ( ( ) => {
3636 dispatch (
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export const useTimeout = (
6969export async function fetchWithTimeout (
7070 resource : RequestInfo ,
7171 options ?: RequestInit ,
72- timeout = 12000
72+ timeout = 10000
7373) {
7474 const controller = new AbortController ( )
7575 const id = setTimeout ( ( ) => controller . abort ( ) , timeout )
You can’t perform that action at this time.
0 commit comments