19967: Update container cost when crunch-run receives SIGUSR2 19967-crunch-run-cost-updates
authorBrett Smith <brett.smith@curii.com>
Mon, 20 Mar 2023 19:52:56 +0000 (15:52 -0400)
committerBrett Smith <brett.smith@curii.com>
Mon, 20 Mar 2023 19:52:56 +0000 (15:52 -0400)
commitd1dcb64a9174c2da64306a6598e1e52a96344e6b
treea1b69ae8a76c9577d56e550011c48ee97fd6bb71
parent0e60fbb5966fb7ec8518c4a06d80946c48d9222a
19967: Update container cost when crunch-run receives SIGUSR2

The Crunch dispatcher sends this signal periodically, so this provides
regular cost updates for running containers.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
lib/crunchrun/crunchrun.go
lib/crunchrun/crunchrun_test.go