Sha256: 6ebf1a12cbd7fec103662f67298b869a4cfd7a7957ba673cd49ff9d216bcd2b9

Contents?: true

Size: 247 Bytes

Versions: 4

Compression:

Stored size: 247 Bytes

Contents

<%= config[:camel_cased_app_name] %>::Container.finalize :monitor do |_container|
  init do
    require "dry/monitor"
    require "rom/instrumentation"
  end

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

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
dry-web-roda-0.6.2 lib/dry/web/roda/skeletons/flat_project/system/boot/monitor.rb.tt
dry-web-roda-0.6.2 lib/dry/web/roda/skeletons/umbrella_project/system/boot/monitor.rb.tt
dry-web-roda-0.6.1 lib/dry/web/roda/skeletons/flat_project/system/boot/monitor.rb.tt
dry-web-roda-0.6.1 lib/dry/web/roda/skeletons/umbrella_project/system/boot/monitor.rb.tt