summaryrefslogtreecommitdiffstats
path: root/tests/docker
diff options
context:
space:
mode:
authorVarun Patil <varunpatil@ucla.edu>2023-04-16 13:44:06 -0700
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-05-31 07:13:20 +0000
commit8745f76bd0f3ca66cfe3b9c791e2df2dd5d33d1f (patch)
treef26d10beae48c754b9e1dc8474841f83ec28ff82 /tests/docker
parent9ef37aaa6e7ae42fcacbb5a3e2e89f1063686925 (diff)
downloadnextcloud-server-8745f76bd0f3ca66cfe3b9c791e2df2dd5d33d1f.tar.gz
nextcloud-server-8745f76bd0f3ca66cfe3b9c791e2df2dd5d33d1f.zip
redis: use atomic operations everywhere
This removes a lot of acrobatics in the code and does each operation atomically using a lua script. This also reduces several round trips to the server, and the scripts are compiled and cached server-side. Notably, since all operations work only on a single key (except clear, which is broken anyway and shouldn't be used), they will continue to function and be atomic for Redis cluster. Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Diffstat (limited to 'tests/docker')
0 files changed, 0 insertions, 0 deletions