This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Say I have x-ratelimit-remaining of 10 and I fire off a couple API requests at about the same time. I would like to keep track of how many remaining API requests I have and update them upon receiving a response. However, it's possible that my application first sees a response (call it "Response A") with x-ratelimit-remaining of 8 and then a response ("Response B") with x-ratelimit-remaining of 9. The correct request budget should presumably be 8, so I don't want to clobber my state when I see Response B. However, is there any way for me to track the fact that Response A takes precedence over Response B?
Subreddit
Post Details
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/redditdev/c...