# Retry-After returns with 0 seconds

**URL:** <https://meta.discourse.org/t/retry-after-returns-with-0-seconds/99550>\
**Category:** Bug\
**Created:** [October 15, 2018, 2:35pm UTC](https://meta.discourse.org/t/retry-after-returns-with-0-seconds/99550 "2018-10-15T14:35:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jdevost](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jdevost/32/119493_2.png) [@jdevost](https://meta.discourse.org/u/jdevost)\
**Post date:** [October 15, 2018, 2:35pm UTC](https://meta.discourse.org/t/retry-after-returns-with-0-seconds/99550/1 "2018-10-15T14:35:37Z")

</div>

When we retry after a 429, we get another 429.

I suspect a round-down issue.

In our scenario:

- we do requests, and eventually get a `429 Too Many Request` with `Retry-After: 19`
- we wait 19 seconds, then try again:  
—\> We get a `429` again, with `Retry-After: 0 `

Now, can it be the actual values were 19.4 and 0.4 for example and they were rounded down for the Retry-After in the headers?

---

_[View the full topic](https://meta.discourse.org/t/retry-after-returns-with-0-seconds/99550)._
