From 57bab77e812d58e2d7c9e2fb6f5e4e34e3ebdc5f Mon Sep 17 00:00:00 2001 From: Andrew Gillis Date: Mon, 23 Oct 2023 11:47:34 -0700 Subject: [PATCH] Update comment (#420) Fixex #387 --- engine/engine.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/engine.go b/engine/engine.go index 00e3c31d..10c23b2b 100644 --- a/engine/engine.go +++ b/engine/engine.go @@ -293,8 +293,9 @@ func (e *Engine) PublishLocal(ctx context.Context, adv schema.Advertisement) (ci } // Publish stores the given advertisement locally via Engine.PublishLocal -// first, then publishes a message onto the gossipsub to signal the change in -// the latest advertisement by the provider to indexer nodes. +// first. It then announces the availability of the new advertisement by +// sending an announcement message via HTTP and/or gossipsub to indexers, +// depending on configuration.. // // The publication mechanism uses dagsync.Publisher internally. // See: https://github.com/ipni/go-libipni/tree/main/dagsync