Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Use expire_session_after for session, REDIS_CACHE_EXPIRES_IN for cache #643

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

takahashim
Copy link
Collaborator

🎩 What? Why?

expirationの設定を追加します。

  • RedisCacheStoreを使っているキャッシュについては、REDIS_CACHE_EXPIRES_INという新しい環境変数を追加します。デフォルトは60分にしています。
  • cache_storeを使っているセッションについては、Decidim.config.expire_session_afterの値を使うようにしています。

📌 Related Issues

  • Related to #?
  • Fixes #?

📋 Subtasks

  • Add CHANGELOG upgrade notes, if required
  • If there's a new public field, add it to GraphQL API
  • Add documentation regarding the feature
  • Add/modify seeds
  • Add tests
  • Another subtask

@ayuki-joto ayuki-joto merged commit e2f6d93 into main Nov 23, 2024
2 checks passed
@takahashim takahashim deleted the redis-cache-expiration branch November 23, 2024 08:57
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.

2 participants