authorizerdev / authorizer

Your data, your control. Fully open source, authentication and authorization. No lock-ins. Deployment in Railway in 120 seconds || Spin a docker image as a micro-service in your infra. Built in login page and Admin panel out of the box.
https://authorizer.dev
MIT License
1.61k stars 165 forks source link

Use go-lru for caching / session store #331

Closed lakhansamani closed 1 year ago

lakhansamani commented 1 year ago

Feature Description go-lru from harshi corp is thread safe and also has ability to store ttl. adding ttl to session tokens will automatically clear them on failure

Describe the solution you'd like

Describe alternatives you've considered

Additional context

lakhansamani commented 1 year ago

Decided to use internal cache with clearing worker #343