Open hems opened 1 year ago
Can you please try to increase jest timeout?
There's a retry mechanism here: https://github.com/wnz99/tvcd/blob/403f4fc5a74d8c0a28a60399de0278a81e82a25a/src/observables/fetchCandles.ts#L36
I will retry twice with a 5000
ms delay.
We can decrease it if you think it makes sense.
it's not supposed to retry when bitfinex API rerturns [ "error" ], that's the point of this issue, it's retrying forever when it should simply abort as the request is invalid!
When trying to request the last candle to bitfinex i ended up doing the following request:
I can see bitfinex answers very quick in the browser with:
But on my jest test it was timing out because it was taking more than 5000 ms to resolve the request.
I wonder if
tvcd
will keep retrying to request and for that reason the timeout happens?