Multiple changes to improve performance and reduce complexity.

- Optimise the errors and recovery.
- Deduplicate code in metadata cache.
- Remove unused performance monitoring code.
- Simplify session management and settings handling.
This commit is contained in:
2025-06-20 09:00:02 +01:00
parent d8d1b74175
commit 48de8265c5
13 changed files with 648 additions and 1344 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ func (tt *TestTokens) CreateIncompressibleToken(targetSize int) string {
// ~100 bytes per field
remainingSize/100, 1)
for i := 0; i < fieldCount; i++ {
for i := range fieldCount {
// Generate truly random data for each field
randomBytes := make([]byte, 50)
rand.Read(randomBytes)