orhanobut / wasp

Compact and easy to use, 'all-in-one' android network solution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sync Request timeout bug

tasomaniac opened this issue · comments

Syncronous requests gets the timeout of the given retry policy when available. Retry policy requires the timeouts to be in milliseconds while the below line adds the timeout in Seconds.

https://github.com/orhanobut/wasp/blob/master/wasp/src/main/java/com/orhanobut/wasp/VolleyNetworkStack.java#L64

When I set 30000 milliseconds for the request to wait for 30 seconds, it will wait about 8 hours. 😄

Can you tell me why did you closed it?

Oh I see. You manually merged it.