Module global

Module global 

Source
Expand description

Global state

§Lock hierarchy

In order of acquisition:

  1. sqlite database lock
  2. state, running, db_trigger, host_retry_state - only one at a time

Structs§

DbAssocState
State that is maintained in tandem with db transactions
Globals
IsPaused
IsThrottled
Running
ShuttingDown
Token indicating that we are shutting down
Started
State
Unchecked

Enums§

HttpFetchedRaw

Functions§

find_job_deferring_shutdown
globals
Obtain the global variables - only for use after startup
resolve_config
shutdown_start_tasks
startup
test_hook
If we are running tests, submit a test webhook. Otherwise do nothing.