```ruby
# frozen_string_literal: true

Rails.application.config.session_store :redis_store,
                                       servers: ENV["REDIS_URL"] + "/0/sessions",
                                       expires_in: 3.days
```

Increase session expiration to 6 months
user
```ruby
# frozen_string_literal: true

Rails.application.config.session_store :redis_store,
                                       servers: ENV["REDIS_URL"] + "/0/sessions",
                                       expires_in: 6.months
```
assistant