Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ActiveScheduler.config.{guard_with,queue_name_resolver} #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 1, 2021

  1. Add ActiveScheduler.config.{guard_with,queue_name_resolver}

    This allows configuration of a custom guard clause to check whether jobs should be wrapped or not, as well as allowing for a custom queue_name_resolver configuration which will be called to resolve the queue name when the queue is not configured. The idea behind this is to enable an option which avoids the use of "class_name.constantize", meaning that we don't have to load the entire Rails environment for the resque scheduler rake task and save some memory.
    AMHOL committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    d9593ed View commit details
    Browse the repository at this point in the history