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

Limit concurrent builds #6847

Merged
merged 7 commits into from Apr 6, 2020
Merged

Commits on Apr 1, 2020

  1. Limit concurrent builds

    Add a Feature flag to be able to limit concurrent builds for specific
    projects. This will allow us to protect ourselves for projects
    triggering a lot of builds via the API or for a few very long builds
    of the same project blocking all the rest of users.
    
    If the limit is reached, the Build is marked as "Queue" and an error
    message is shown in the build's detail page saying that the concurrent
    limit was reached and the build is re-triggered to be executed in 5
    minutes again.
    humitos committed Apr 1, 2020
    Copy the full SHA
    4313e49 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2020

  1. Update readthedocs/doc_builder/exceptions.py

    Co-Authored-By: Eric Holscher <25510+ericholscher@users.noreply.github.com>
    humitos and ericholscher committed Apr 2, 2020
    Copy the full SHA
    2562d30 View commit details
    Browse the repository at this point in the history
  2. Lint

    humitos committed Apr 2, 2020
    Copy the full SHA
    36a669a View commit details
    Browse the repository at this point in the history
  3. Test

    humitos committed Apr 2, 2020
    Copy the full SHA
    01d7a03 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'humitos/max-builds-concurrency' of github.com:readthedo…

    …cs/readthedocs.org into humitos/max-builds-concurrency
    humitos committed Apr 2, 2020
    Copy the full SHA
    5c2ca2e View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2020

  1. Remove BUILD_STATE_QUEUED

    We decided we are going to keep the build in Triggered state for now.
    humitos committed Apr 6, 2020
    Copy the full SHA
    301f35c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    8015674 View commit details
    Browse the repository at this point in the history