From 7b89690eae7580e1931c38c21c773a8d5c0d3459 Mon Sep 17 00:00:00 2001 From: Nate Date: Thu, 19 Dec 2024 06:51:49 -0800 Subject: [PATCH] refactor: increase prune interval for test node to reduce NDFs --- internal/testutil/testutil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/testutil/testutil.go b/internal/testutil/testutil.go index fac6ddde..d67aa749 100644 --- a/internal/testutil/testutil.go +++ b/internal/testutil/testutil.go @@ -167,7 +167,7 @@ func NewHostNode(t testing.TB, pk types.PrivateKey, network *consensus.Network, } t.Cleanup(func() { wm.Close() }) - vm, err := storage.NewVolumeManager(cn.Store, storage.WithLogger(log.Named("storage")), storage.WithPruneInterval(500*time.Millisecond)) + vm, err := storage.NewVolumeManager(cn.Store, storage.WithLogger(log.Named("storage")), storage.WithPruneInterval(time.Second)) if err != nil { t.Fatal("failed to create volume manager:", err) }