Skip to content

cleanup: use a cache for JWT/CA instead of reading from disk every time#17

Open
Yuval Kohavi (yuval-k) wants to merge 1 commit into
agent-substrate:mainfrom
yuval-k:yuval-k/cache-jwt
Open

cleanup: use a cache for JWT/CA instead of reading from disk every time#17
Yuval Kohavi (yuval-k) wants to merge 1 commit into
agent-substrate:mainfrom
yuval-k:yuval-k/cache-jwt

Conversation

@yuval-k
Copy link
Copy Markdown

Small PR to fix re-reading the JWT keys and CAs every-time.

For sessionIDJWTPoolFile, sessionIDCAPoolFile check modification time, and if not changed, use cached value.

  • Tests pass

For sessionIDJWTPoolFile, sessionIDCAPoolFile check modification time, and if not changed, use cached value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant