Post

Replies

Boosts

Views

Activity

Tune NSURLSessionUploadTask retry for NSBackgroundURLSession (watchOS) to limit number of requests.
NSBackgroundURLSession (watchOS) executes my ~2mb upload multiple (sometimes >100) times before the task is returned to my app as completed. it appears like the tasks retry the request even before getting a response back from the server.How can I tune my NSURLSessionUploadTasks to only retry on the background session to not send so many retrys so quickly?
14
0
6.1k
Jan ’17