budget

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HoldWriter

func HoldWriter(ctx context.Context, dbPath string, profile timeouts.Profile, held chan<- struct{}, release <-chan struct{}) error

HoldWriter is deterministic load-test instrumentation. Production ingress never calls it; it exists so the honest-failure case does not depend on a scheduler race to keep SQLite's writer lock occupied.

Types

type RealClock

type RealClock struct{}

func (RealClock) Now

func (RealClock) Now() time.Time

Jump to

Keyboard shortcuts

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