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
Is it possible to implement a default queue, similar to ActionMailer or Textris's ownfrom value? I don't use the :textris queue and manually setting a queue on every delivery is quite repetitive.
Something like this:
class NotificationTexter < Textris::Base
default queue: "notifications"
def cool_update(user)
...
end
end
Another nice option would be be able to override the default :textris queue in an optional initializer. For example, this is how Rollbar approaches this issue:
# config/initializers/rollbar.rb
Rollbar.configure do |config|
config.use_sidekiq 'queue' => 'low'
end
This is a fantastic gem overall, but being able to customize some fairly basic defaults (i.e. #29) would make it much cleaner to incorporate into existing Rails apps.
The text was updated successfully, but these errors were encountered:
Hi! Sorry for a huge time without any response here. We're doing our best to de-dust open source projects, but as of writing I must say that we do not meet required throughput to provide resolution for this issue. I'll add Help Wanted label here and if anyone comes up - feel more than welcome to contribute and open a PR!
Is it possible to implement a default queue, similar to ActionMailer or Textris's own
from
value? I don't use the:textris
queue and manually setting a queue on every delivery is quite repetitive.Something like this:
Another nice option would be be able to override the default :textris queue in an optional initializer. For example, this is how Rollbar approaches this issue:
This is a fantastic gem overall, but being able to customize some fairly basic defaults (i.e. #29) would make it much cleaner to incorporate into existing Rails apps.
The text was updated successfully, but these errors were encountered: