fixed memory leak in MemcachedCacheHandler
All checks were successful
CI / build (push) Successful in 2m53s

This commit is contained in:
2025-03-09 22:16:03 +08:00
parent 9600dd7e4f
commit ac156c68eb
9 changed files with 96 additions and 102 deletions

View File

@@ -129,7 +129,7 @@ class RetryTest {
previousAttempt.first + testArgs.initialDelay * Math.pow(testArgs.exp, index.toDouble()) * 1e6
val actualTimestamp = timestamp
val err = Math.abs(expectedTimestamp - actualTimestamp) / expectedTimestamp
Assertions.assertTrue(err < 0.1)
Assertions.assertTrue(err < 0.5)
}
if (index == attempts.size - 1 && index < testArgs.maxAttempt - 1) {
/*