Reputation: 28
What is the default time for volley to timeout the request in android when we call any API using volley.
Upvotes: 0
Views: 1439
Reputation: 18112
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
Upvotes: 2