warmer

package
v0.0.0-...-03d6fc4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

warmer makes sure we've pre-warmed the cache for normal queries.

This is a quick fix until filediffstore does full NxM diffs for every untriaged digest by default.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Warmer

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

Warmer continously prefetches images and calculates diffs that are likely to be requested by the front-end.

func New

func New(storages *storage.Storage) *Warmer

New creates an new instance of warmer.

func (*Warmer) Run

func (w *Warmer) Run(tile *tiling.Tile, summaries *summary.Summaries, tallies *tally.Tallies)

Run prefetches the digests in tile and calculates differences we'll need.

Jump to

Keyboard shortcuts

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