poll

package
v0.0.0-...-71fd8da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeepRunsUpdated

func KeepRunsUpdated(store shared.Datastore, logger shared.Logger, interval time.Duration, limit int, idx index.Index)

KeepRunsUpdated implements updates to an index.Index via simple polling every interval duration for at most limit runs loaded from fetcher. nolint:gocognit // TODO: Fix gocognit lint error

func StartMetadataPollingService

func StartMetadataPollingService(ctx context.Context, logger shared.Logger, interval time.Duration)

StartMetadataPollingService performs metadata-related services via simple polling every interval duration.

func StartWebFeaturesManifestPollingService

func StartWebFeaturesManifestPollingService(ctx context.Context, logger shared.Logger, interval time.Duration)

StartWebFeaturesManifestPollingService performs web features manifest related services via simple polling every interval duration.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL