We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6da2c6 commit f8699eaCopy full SHA for f8699ea
1 file changed
src/mcp/shared/auth_utils.py
@@ -151,8 +151,8 @@ def calculate_token_refresh_time(
151
# zero TTLs this collapses gracefully toward `now` rather than going negative or
152
# past the hard-expiry boundary.
153
if refresh_at < now:
154
- refresh_at = now # pragma: no cover
+ refresh_at = now
155
if refresh_at > hard_expiry:
156
- refresh_at = hard_expiry # pragma: no cover
+ refresh_at = hard_expiry
157
158
return refresh_at
0 commit comments