From 9ff6fb9344e823976dd59a51e912248ca04e2903 Mon Sep 17 00:00:00 2001 From: ehsan shariati Date: Wed, 20 Mar 2024 21:24:38 -0400 Subject: [PATCH] Update blox.go --- blox/blox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blox/blox.go b/blox/blox.go index d06740a..0a8f4f6 100644 --- a/blox/blox.go +++ b/blox/blox.go @@ -324,7 +324,7 @@ func (p *Blox) ListModifiedStoredLinks(ctx context.Context, lastChecked time.Tim // Create a channel to receive pin info out := make(chan api.GlobalPinInfo, 1024) // Adjust buffer size as needed go func() { - defer p.once.Do(func() { close(out) }) + //defer p.once.Do(func() { close(out) }) p.ipfsClusterApi.StatusAll(ctx, api.TrackerStatusPinned, true, out) }()