mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 21:29:52 +05:00
Remove TTL checks in LR
This commit is contained in:
@@ -50,6 +50,7 @@ func TestLRU(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
func TestLRUandExpire(t *testing.T) {
|
||||
cache := NewLRUTTL(32, 5*time.Millisecond)
|
||||
for i := 0; i < 100000; i++ {
|
||||
@@ -73,7 +74,7 @@ func TestLRUandExpire(t *testing.T) {
|
||||
t.Error("error dicarding least recently used entries: ", cache.Len())
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
func TestLRUParallel(t *testing.T) {
|
||||
cache := NewLRUTTL(32, 0)
|
||||
wg := sync.WaitGroup{}
|
||||
|
||||
Reference in New Issue
Block a user