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.check_jobs_descend_from_active_job #22

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

Commits on Apr 1, 2021

  1. Add ActiveScheduler.config.check_jobs_descend_from_active_job

    When set to false, this will skip the check in ActiveScheduler::ResqueWrapper.wrap which checks whether the job class descends from ActiveJob::Base, this means that we no longer need to call "class_name.constantize", which should mean that we can skip loading the whole Rails environment for the resque scheduler rake task and save some memory.
    AMHOL committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    0db79fc View commit details
    Browse the repository at this point in the history