I have some network calls that takes can take more than a minute to respond, so i want to set requests timeout to 180 seconds.
I tried this code, but it looks like that after 60 seconds it cancels the request and does not read the timeout property.
This is my code.
jsonObjectRequest.setRetryPolicy(new DefaultRetryPolicy(
(int) TimeUnit.SECONDS.toMillis(185),
DefaultRetryPolicy.DEFAULT_MAX_RETRIES,
DefaultRetryPolicy.DEFAULT_BACKOFF_MULT));