You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is an enforced emit timeout in the OkHttpNetworkConnection that defaults to 5 seconds after which it cancels the requests.
5 seconds is unlikely to be enough in many cases – slower cellular connections, switching between wifi and cellular. It can lead to requests being cancelled too early and resent again. This can then cause duplicates in the warehouse. On iOS, we use the default 60 seconds timeout (not configurable).
I suggest changing the default to 30 seconds. 30s would fit the currently set 15 seconds connection and 15 seconds read timeout, set here.
The text was updated successfully, but these errors were encountered:
Currently, there is an enforced emit timeout in the
OkHttpNetworkConnection
that defaults to 5 seconds after which it cancels the requests.5 seconds is unlikely to be enough in many cases – slower cellular connections, switching between wifi and cellular. It can lead to requests being cancelled too early and resent again. This can then cause duplicates in the warehouse. On iOS, we use the default 60 seconds timeout (not configurable).
I suggest changing the default to 30 seconds. 30s would fit the currently set 15 seconds connection and 15 seconds read timeout, set here.
The text was updated successfully, but these errors were encountered: