What is the default time for volley to timeout the request in android when we call any API using volley.
Asked
Active
Viewed 1,416 times
0
-
https://stackoverflow.com/questions/17094718/change-volley-timeout-duration – Vivek Mishra Nov 19 '18 at 10:12
1 Answers
2
Volley has set default Connection timeout to 2.5 sec for socket and 5 sec for http calls seconds.
You can use RetryPolicy
to update it.
See this https://github.com/google/volley/blob/master/src/main/java/com/android/volley/RetryPolicy.java

Rohit5k2
- 17,948
- 8
- 45
- 57