hnswpurger

package
v1.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HNSWPurger

type HNSWPurger struct {
	// contains filtered or unexported fields
}

HNSWPurger implements the mechanism for periodically checking for old PendingJobs and attempting their rescheduling.

func New

func New(conf config.HNSWPurger, hnswConf config.HNSW) *HNSWPurger

New creates a new HNSWPurger.

func (*HNSWPurger) Run

func (hp *HNSWPurger) Run(ctx context.Context) (err error)

Run starts the pending jobs' recovery process.

This function should ideally run forever, unless an error is encountered or the context is done.

Jump to

Keyboard shortcuts

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