Skip to content

Commit e1e9205

Browse files
committed
minor
1 parent c61dc1f commit e1e9205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rate_limiter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ the :class:`Symfony\\Component\\RateLimiter\\Reservation` object returned by the
350350
$limit = $limiter->consume();
351351
$headers = [
352352
'X-RateLimit-Remaining' => $limit->getRemainingTokens(),
353-
'X-RateLimit-Retry-After' => $limit->getRetryAfter()->getTimestamp(),
353+
'X-RateLimit-Retry-After' => $limit->getRetryAfter()->getTimestamp() - time(),
354354
'X-RateLimit-Limit' => $limit->getLimit(),
355355
];
356356

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy