Перенесите реализацию ЛР 4 на стенд ЛР 5
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Valkey is the only store of user sessions, so it is their source of truth.
|
||||
# Every write is fsynced before the reply: an acknowledged login survives a
|
||||
# crash or a restart. Only logins and logouts write; session lookups are reads
|
||||
# and pay nothing for this.
|
||||
appendonly yes
|
||||
appendfsync always
|
||||
dir /data
|
||||
|
||||
# The append-only file already persists everything; RDB snapshots are off.
|
||||
save ""
|
||||
|
||||
# Sessions are never evicted to free memory: once maxmemory is reached the
|
||||
# store refuses new sessions (login answers 503) instead of silently logging
|
||||
# users out. A session key takes about a hundred bytes.
|
||||
maxmemory 256mb
|
||||
maxmemory-policy noeviction
|
||||
|
||||
# requirepass comes from the compose secret, never from the repository.
|
||||
include /run/secrets/valkey_auth
|
||||
Reference in New Issue
Block a user