Class: JetstreamBridge::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/jetstream_bridge/rails/railtie.rb

Overview

Rails integration for JetStream Bridge.

This Railtie integrates JetStream Bridge with the Rails application lifecycle:

  • Configuration: Logger is configured early in the Rails boot process

  • Startup: Connection is established after user initializers load (explicit startup!)

  • Shutdown: Connection is closed when Rails shuts down (at_exit hook)

  • Restart: Puma/Unicorn workers get fresh connections on fork