Expand description
Server startup and shutdown lifecycle hooks.
The closed cognee-http-cloud crate provides its own bootstrap that
seeds the principals / users / tenants tables; OSS keeps the
sync-registry sweep + pipeline-registry shutdown that are DB-free.
Enums§
- Lifecycle
Error - Errors that can occur during server lifecycle transitions.
Functions§
- default_
user_ id - Convenience accessor — for callers that need the well-known IDs.
- on_
shutdown - Called on graceful shutdown (SIGTERM / SIGINT).
- on_
startup - Called once before the router is handed to
axum::serve.