Sha256: d67fb9e0ce7bbe14fd847459ebcfa51349acf06a43e958e70d8337e8b785217e

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

<%= config[:camel_cased_app_name] %>::Container.boot :monitor do
  init do
    require "dry/monitor"
    Dry::Monitor.load_extensions(:sql)
  end

  start do
    Dry::Monitor::SQL::Logger.new(logger).subscribe(notifications)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-web-roda-0.12.0 lib/dry/web/roda/templates/monitor.rb.tt