Skip to content

Commit 2655c1b

Browse files
committed
update time_out on 304
1 parent e67063c commit 2655c1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cryptojwt/key_bundle.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def do_remote(self):
389389

390390
elif _http_resp.status_code == 304: # Not modified
391391
LOGGER.debug("%s not modified since %s", self.source, self.last_remote)
392-
pass
392+
self.time_out = time.time() + self.cache_time
393393

394394
else:
395395
LOGGER.warning("HTTP status %d reading remote JWKS from %s",

0 commit comments

Comments
 (0)