What is the default time for volley to timeout the request?

Multi tool use
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.

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.

stackoverflow.com/questions/17094718/…
– Vivek Mishra
yesterday
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.

What is the default time for volley to timeout the request in android when we call any API using volley.


edited yesterday


Kling Klang
32.1k156287
32.1k156287
asked yesterday
Sudarshan thite
241
241
stackoverflow.com/questions/17094718/…
– Vivek Mishra
yesterday
add a comment |
stackoverflow.com/questions/17094718/…
– Vivek Mishra
yesterday
stackoverflow.com/questions/17094718/…
– Vivek Mishra
yesterday
stackoverflow.com/questions/17094718/…
– Vivek Mishra
yesterday
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 yesterday
answered yesterday


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
deroMCcgyLCwbKM g,0IvGqQgN8kn3,V2n Xhv,MbJRFThSHsR2TZMG2Gb L4MgSLo3,r3O1F,XH,YaR rNJ,cQQ
stackoverflow.com/questions/17094718/…
– Vivek Mishra
yesterday