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

Optimise Job Progress #4219

Merged
merged 1 commit into from
May 8, 2019
Merged

Commits on May 6, 2019

  1. Optimise Job Progress

    The current progress is never updated, resulting in the database being updated regardless of whether the value of `$this->_progress` has changed or not.
    
    Additionally, `$this->_progress` should be stored as a rounded integer to avoid updating the database more times than necessary. For example, if there are 1,000 steps then the database will be update 10 times more than necessary.
    
    ```
    1: 0%
    2: 0%
    ...
    9: 0%
    10: 1%
    11: 1%
    ...
    ```
    Ben Croker authored May 6, 2019
    Configuration menu
    Copy the full SHA
    6612e9b View commit details
    Browse the repository at this point in the history