worker

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GC added in v0.0.16

func GC(ctx context.Context, interval time.Duration)

func Merge added in v0.0.16

func Merge(ctx context.Context, interval time.Duration)

func Periodic added in v0.0.8

func Periodic(
	ctx context.Context,
	ping *health.Ping,
	interval time.Duration,
	warm bool,
	work func(context.Context, time.Duration)) func() error

func SaveBuffers added in v0.0.8

func SaveBuffers(ctx context.Context, interval time.Duration)

SaveBuffers persists collected Entry Buffers to the timeseries storage.

func SiteCacheUpdate added in v0.0.8

func SiteCacheUpdate(ctx context.Context, interval time.Duration)

SiteCacheUpdate updates cache of active sites.

func System added in v0.0.17

func System(ctx context.Context, interval time.Duration)

Types

This section is empty.

Jump to

Keyboard shortcuts

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