Hot Reload

Current Status

The current github.com/go-juicedev/juice main branch does not expose a public hot-reload API for replacing an engine’s configuration in place. Older documentation mentioned engine.SetConfiguration and IConfiguration, but those APIs are not present in the current codebase.

Do not rely on SetConfiguration in new code.

Notes

  • Recreating the engine also recreates database connection management according to the new configuration.

  • Plan request draining and rollback behavior at the application level.

  • For most services, restarting the process or rolling deployment is simpler and safer than ad hoc in-process hot reload.