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

694 priority for small pushes #1068

Merged
merged 14 commits into from
Oct 20, 2014
Merged

Conversation

0robustus1
Copy link
Contributor

Shall fix #694.

See the settings.yml for the related settings.

}

schedule_batch_parsing(versions)
priority = applicable_for_priority?(commits_count, highest_change_file_count)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [81/80]

@0robustus1 0robustus1 force-pushed the 694-priority_for_small_pushes branch from 26cacb7 to 00ef87a Compare October 6, 2014 09:22
}

schedule_batch_parsing(versions)
priority = applicable_for_priority?(commits_count, highest_change_file_count)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [81/80]

See information about the rules here:
#694 (comment).
The OntologyBatchParseWorker now can take method calls which directly
supply the queue to place the job in. Additionally there is a convience
method for the priority-push queue.
Add a method to check whether the necessary priority
conditions are met. Additionally add a helper
method to retrieve the specific settings.
Add specs to ensure that future jobs (concurrency balancing) will stay
on the queue they started out at (with the exception of the sequential
jobs, which have their own queue).
In the case of small pushes suspended_save_ontologies
should create the jobs accordingly.
The deprecation warnings with regard to be_true
have been turned into be(true).
Per eugens 'suggestion' i'll use allow_any_instance
and the receive mocker.
Per eugens suggestion we will now test every bound of the 'small push
priority'-system.
@eugenk
Copy link
Member

eugenk commented Oct 20, 2014

👍

0robustus1 added a commit that referenced this pull request Oct 20, 2014
@0robustus1 0robustus1 merged commit 7a892ee into staging Oct 20, 2014
@0robustus1 0robustus1 deleted the 694-priority_for_small_pushes branch October 20, 2014 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Priority for small pushes
3 participants