Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

tokensの保管にRedisを使う。 #1063

Open
CaffeeLake opened this issue Apr 9, 2023 · 0 comments
Open

tokensの保管にRedisを使う。 #1063

CaffeeLake opened this issue Apr 9, 2023 · 0 comments
Labels

Comments

@CaffeeLake
Copy link
Member

CaffeeLake commented Apr 9, 2023

tokens内のtokenはログインされるたびに生成され、一時的に必要なものである。
しかし、半永久的に保存されるMariaDBに保管されており、放置していると古いtokenが大量にたまる。
そのため、tokensをRedisに保管し、一定期間が経過した古いtokenを自動的にクリアするようにする必要がある。

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant