You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'The amount of time to wait for a clean shutdown. Jobs that are unable to complete in this time will not be deleted from the SQS queue and will be retryable after the visibility timeout.')do |a|
'When set, retry all StandardErrors (leaving failed messages on the SQS Queue). These retries are ON TOP of standard Rails ActiveJob retries set by retry_on in the ActiveJob.')do |a|
139
+
out[:retry_standard_errors]=a.nil? ? true : a
140
+
end
130
141
end
131
142
132
143
parser.banner='aws_sqs_active_job [options]'
@@ -138,6 +149,7 @@ def parse_args(argv)
138
149
parser.parse(argv)
139
150
out
140
151
end
152
+
# rubocop:enable Metrics
141
153
142
154
defvalidate_config
143
155
raiseArgumentError,'You must specify the name of the queue to process jobs from'unless@options[:queue]
0 commit comments