Postgres module

Managed_State

structsince 0.27.0Source

The managed server this service process owns (managed.jai). It is started by the first request that needs it and then reused; start_managed takes a lock, so two services (two compiles, or a compile and the editor) never start the same data folder at once. The server keeps running when the service exits, so the next build finds it ready.

Fields

ready: bool
url: string
failed_until: s64
monotonic ms: until then the last failure is the answer
failure: string

See also