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

scheduler: check daily job limit on each job, not just when choosing AV #3089

Merged
merged 2 commits into from
Apr 18, 2019

Commits on Mar 29, 2019

  1. Configuration menu
    Copy the full SHA
    816288f View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2019

  1. scheduler: fix bug in daily (host, app version) job limit.

    I was doing the check on each call to get_app_version().
    But it turns out this gets called during the job scan,
    before calling add_result_to_reply(),
    which is where n_jobs_today gets incremented.
    
    Solution:move the check to the loop (in sched_score.cpp)
    where add_result_reply() is called.
    
    Also: fix bad logic in work_needed() where a global check
    (on job limit in user project prefs)
    was being done inside a loop over resources.
    davidpanderson committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    5867396 View commit details
    Browse the repository at this point in the history