funktor 0.7.11 → 0.7.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,3 +67,9 @@ queues:
67
67
  # https://zaccharles.medium.com/reproducing-the-sqs-trigger-and-lambda-concurrency-limit-issue-f4c09d384a18
68
68
  reservedConcurrency: 10
69
69
 
70
+ # Here you can specify a list of worker that you want to monitor closely
71
+ primaryWorkers:
72
+ - HelloWorker
73
+ - GreetingsWorker
74
+ - AuditWorker
75
+ - SingleThreadAuditWorker
@@ -141,6 +141,10 @@ module Funktor
141
141
 
142
142
  private
143
143
 
144
+ def primary_workers
145
+ funktor_config["primaryWorkers"] || app_worker_names
146
+ end
147
+
144
148
  def app_worker_names
145
149
  app_worker_files.map do |file|
146
150
  File.basename(file, ".rb").camelize