prefork

command
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Command prefork demonstrates fh's OS-process prefork supervisor and doubles as the target binary for prefork_integration_test.go, which drives it with real SIGHUP/SIGTERM signals to prove zero-downtime rolling restarts. Configuration is via environment variables (rather than flags) so the test can control it precisely without argument-parsing overhead:

PREFORK_ADDR    listen address, default ":8091"
PREFORK_WORKERS worker process count, default 2

Jump to

Keyboard shortcuts

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