What is the default time for volley to timeout the request?
up vote
-1
down vote
favorite
What is the default time for volley to timeout the request in android when we call any API using volley.
android android-volley
add a comment |
up vote
-1
down vote
favorite
What is the default time for volley to timeout the request in android when we call any API using volley.
android android-volley
stackoverflow.com/questions/17094718/…
– Vivek Mishra
23 hours ago
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
What is the default time for volley to timeout the request in android when we call any API using volley.
android android-volley
What is the default time for volley to timeout the request in android when we call any API using volley.
android android-volley
android android-volley
edited 22 hours ago
Kling Klang
32k156286
32k156286
asked 23 hours ago
Sudarshan thite
241
241
stackoverflow.com/questions/17094718/…
– Vivek Mishra
23 hours ago
add a comment |
stackoverflow.com/questions/17094718/…
– Vivek Mishra
23 hours ago
stackoverflow.com/questions/17094718/…
– Vivek Mishra
23 hours ago
stackoverflow.com/questions/17094718/…
– Vivek Mishra
23 hours ago
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Volley has set default Connection timeout to 2.5 sec for socket and 5 sec for http calls seconds.
See this https://github.com/google/volley/blob/master/src/main/java/com/android/volley/DefaultRetryPolicy.java
and https://github.com/google/volley/blob/master/src/main/java/com/android/volley/toolbox/HttpClientStack.java
You can use RetryPolicy
to update it.
See this https://github.com/google/volley/blob/master/src/main/java/com/android/volley/RetryPolicy.java
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Volley has set default Connection timeout to 2.5 sec for socket and 5 sec for http calls seconds.
See this https://github.com/google/volley/blob/master/src/main/java/com/android/volley/DefaultRetryPolicy.java
and https://github.com/google/volley/blob/master/src/main/java/com/android/volley/toolbox/HttpClientStack.java
You can use RetryPolicy
to update it.
See this https://github.com/google/volley/blob/master/src/main/java/com/android/volley/RetryPolicy.java
add a comment |
up vote
0
down vote
Volley has set default Connection timeout to 2.5 sec for socket and 5 sec for http calls seconds.
See this https://github.com/google/volley/blob/master/src/main/java/com/android/volley/DefaultRetryPolicy.java
and https://github.com/google/volley/blob/master/src/main/java/com/android/volley/toolbox/HttpClientStack.java
You can use RetryPolicy
to update it.
See this https://github.com/google/volley/blob/master/src/main/java/com/android/volley/RetryPolicy.java
add a comment |
up vote
0
down vote
up vote
0
down vote
Volley has set default Connection timeout to 2.5 sec for socket and 5 sec for http calls seconds.
See this https://github.com/google/volley/blob/master/src/main/java/com/android/volley/DefaultRetryPolicy.java
and https://github.com/google/volley/blob/master/src/main/java/com/android/volley/toolbox/HttpClientStack.java
You can use RetryPolicy
to update it.
See this https://github.com/google/volley/blob/master/src/main/java/com/android/volley/RetryPolicy.java
Volley has set default Connection timeout to 2.5 sec for socket and 5 sec for http calls seconds.
See this https://github.com/google/volley/blob/master/src/main/java/com/android/volley/DefaultRetryPolicy.java
and https://github.com/google/volley/blob/master/src/main/java/com/android/volley/toolbox/HttpClientStack.java
You can use RetryPolicy
to update it.
See this https://github.com/google/volley/blob/master/src/main/java/com/android/volley/RetryPolicy.java
edited 23 hours ago
answered 23 hours ago
Rohit5k2
14k42451
14k42451
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53372173%2fwhat-is-the-default-time-for-volley-to-timeout-the-request%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
stackoverflow.com/questions/17094718/…
– Vivek Mishra
23 hours ago