alanvardy / tod

An unofficial Todoist command line client written in Rust
MIT License
99 stars 9 forks source link

Implement retry when no response from server on task create #345

Open alanvardy opened 1 year ago

alanvardy commented 1 year ago

I have been getting an increased incidence of Did not get response from server errors when creating a new task.

Add a couple of retries with backoff and add a flag to disable retries. Check to make sure that the client is not already retrying :)

stacksjb commented 1 year ago

SEe https://developer.todoist.com/rest/v2/#request-limits to make sure you aren't exceeding limits