lib/good_job/notifier.rb in good_job-1.4.0 vs lib/good_job/notifier.rb in good_job-1.4.1

- old
+ new

@@ -7,9 +7,10 @@ # Notifiers can emit NOTIFY messages through Postgres. # A notifier will LISTEN for messages by creating a background thread that runs in an instance of +Concurrent::ThreadPoolExecutor+. # When a message is received, the notifier passes the message to each of its recipients. # class Notifier + # Raised if the Database adapter does not implement LISTEN. AdapterCannotListenError = Class.new(StandardError) # Default Postgres channel for LISTEN/NOTIFY CHANNEL = 'good_job'.freeze # Defaults for instance of Concurrent::ThreadPoolExecutor