1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-08-31 03:20:20 +02:00

Do not create a session if the session state is empty (#207)

This commit is contained in:
Luca Palmieri
2021-12-11 16:23:22 +00:00
committed by GitHub
parent 74ec115161
commit e77ed16f49
2 changed files with 39 additions and 59 deletions

View File

@@ -1,8 +1,10 @@
# Changes
## Unreleased - 2021-xx-xx
* A session will be created in Redis if and only if there is some data inside the session state. This reduces the performance impact of `RedisSession` on routes that do not leverage sessions. [#207]
* Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
[#207]: https://github.com/actix/actix-extras/pull/207
[#209]: https://github.com/actix/actix-extras/pull/209