From 6c31530c7aab311db01c1c1dda3b55d871002fc4 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 29 Jul 2025 16:14:27 +0200 Subject: feat: add IDX_CACHE_ROLLOUT (#2850) Only really useful for Atuin cloud Given a % chance, either use the idx cache or use the old aggregation query This is to enable us to test rollout the idx cache, without breaking all queries in weird ways. Can monitor for a change in http codes/etc, and easily roll back. --- Cargo.lock | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 1a2ff4ab..7b506e76 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -489,6 +489,7 @@ dependencies = [ "eyre", "futures-util", "metrics", + "rand 0.8.5", "serde", "sqlx", "time", -- cgit v1.3.1