Skip to content

Commit

Permalink
Merge branch 'main' into php8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Dec 19, 2023
2 parents 73d261a + dda7250 commit 1553071
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog

## [6.10.0](https://github.com/firebase/php-jwt/compare/v6.9.0...v6.10.0) (2023-11-28)


### Features

* allow typ header override ([#546](https://github.com/firebase/php-jwt/issues/546)) ([79cb30b](https://github.com/firebase/php-jwt/commit/79cb30b729a22931b2fbd6b53f20629a83031ba9))

## [6.9.0](https://github.com/firebase/php-jwt/compare/v6.8.1...v6.9.0) (2023-10-04)


Expand Down
2 changes: 1 addition & 1 deletion src/CachedKeySet.php
Expand Up @@ -213,7 +213,7 @@ private function rateLimitExceeded(): bool

$cacheItem = $this->cache->getItem($this->rateLimitCacheKey);
if (!$cacheItem->isHit()) {
$cacheItem->expiresAfter(1); // # of calls are cached each minute
$cacheItem->expiresAfter(60); // # of calls are cached each minute
}

$callsPerMinute = (int) $cacheItem->get();
Expand Down

0 comments on commit 1553071

Please sign in to comment.