- 04 May, 2021 2 commits
-
-
Jacob Vosmaer authored
The old implementation of LimitedCapacity::Worker relies on querying the number of jobs enqueued for the worker it applies to. In https://gitlab.com/groups/gitlab-com/gl-infra/-/epics/447 we are working towards a situation where you can no longer get this number from Sidekiq (in an efficient way, at least). This commit changes the capacity checking logic to only use the set of "running jobs". The capacity check now happens in exactly one place, namely LimitedCapacity::Worker#perform. LimitedCapacity::Worker.perform_with_capacity now always schedules max_running_jobs jobs. Sometimes these will be no-ops but that is OK, we expect less than 0.01 no-op jobs per second on GitLab.com.
-
Jacob Vosmaer authored
Geo::ReverificationBatchWorker uses the LimitedCapacity::Worker concern. For that concern to work correctly, we must periodically reschedule jobs and perform cleanup by calling perform_with_capacity. Before this commit, we were never calling perform_with_capacity on Geo::ReverificationBatchWorker, meaning we never ran the cleanup code. This commit fixes that by replacing perform_async with perform_with_capacity.
-
- 03 May, 2021 1 commit
-
-
Jacob Vosmaer authored
This updates the remaining_work_count method on two Geo workers that use LimitedCapacity::Worker. The purpose of remaining_work_count is to tell LimitedCapacity::Worker if there is work to be done. Whether there is work to be done should not depend on how busy Sidekiq is.
-
- 27 Apr, 2021 1 commit
-
-
Jacob Vosmaer authored
I think this makes the code easier to read.
-
- 26 Apr, 2021 36 commits
-
-
Yannis Roussos authored
Add migration to swap partitioned web_hook_logs See merge request gitlab-org/gitlab!60184
-
🤖 GitLab Bot 🤖 authored
Update Gitaly version See merge request gitlab-org/gitlab!60269
-
Markus Koller authored
Provide a column to grouped COUNT query See merge request gitlab-org/gitlab!59897
-
Mark Florian authored
Highlight paid features during active trial - Part 3 See merge request gitlab-org/gitlab!58827
-
Dallas Reedy authored
- Add popover component with more details about the paid feature being highlighted - Track an event whenever the popover is shown - Do not show the popover on smaller screen sizes - Only show the tooltip on smaller screen sizes
-
Olena Horal-Koretska authored
Geo Node Status 2.0 - helpPagePath Cleanup See merge request gitlab-org/gitlab!60164
-
Alex Kalderimis authored
Stop using json shema gem in test [RUN AS-IF-FOSS] See merge request gitlab-org/gitlab!58661
-
Can Eldem authored
-
Olena Horal-Koretska authored
Clean up initial data parsing in /buy_minutes route See merge request gitlab-org/gitlab!59660
-
Michael Lunøe authored
-
Nick Thomas authored
Rename License#cloud? to License#cloud_license? See merge request gitlab-org/gitlab!60065
-
Heinrich Lee Yu authored
Resolves rubocop offense Rails/WhereEquals [RUN AS-IF-FOSS] See merge request gitlab-org/gitlab!58067
-
Heinrich Lee Yu authored
Add new issue type for requirements See merge request gitlab-org/gitlab!59868
-
Jan Provaznik authored
-
Sean McGivern authored
Quarantine a flaky test See merge request gitlab-org/gitlab!60260
-
GitLab Release Tools Bot authored
-
Rémy Coutable authored
Resolves rubocop offense Style/RescueStandardError See merge request gitlab-org/gitlab!57923
-
Shubham Kumar authored
-
Phil Hughes authored
Use Poll-based axios request even on one-shot request in note actions.js See merge request gitlab-org/gitlab!59656
-
Rémy Coutable authored
Externalize strings in application_settings/_signin.html.haml See merge request gitlab-org/gitlab!58066
-
Marvin Karegyeya authored
-
Vitaly Slobodin authored
Update dependency eslint to v7.25.0 See merge request gitlab-org/gitlab!60224
-
Vitali Tatarintev authored
Feature flag removal [RUN ALL RSPEC] [RUN AS-IF-FOSS] See merge request gitlab-org/gitlab!60053
-
David O'Regan authored
-
Arturo Herrero authored
Enable `check_maven_path_first` by default See merge request gitlab-org/gitlab!60142
-
David Fernandez authored
-
Rémy Coutable authored
Update Usage Ping Metrics - SLA See merge request gitlab-org/gitlab!60047
-
Marcin Sedlak-Jakubowski authored
Docs explain how Windows and Powershell works fine for git See merge request gitlab-org/gitlab!57459
-
Ruben ten Hove authored
-
Rémy Coutable authored
Resolves rubocop offense Style/RedundantBegin See merge request gitlab-org/gitlab!58017
-
Rémy Coutable authored
Fix Rails/SaveBang offenses in spec/frontend See merge request gitlab-org/gitlab!57909
-
Abdul Wadood authored
-
Rémy Coutable authored
Fix Rails/SaveBang offenses in ee/spec/workers See merge request gitlab-org/gitlab!58070
-
Abdul Wadood authored
-
Alex Kalderimis authored
Doc: add event params for Jenkins CI service API See merge request gitlab-org/gitlab!59990
-
Andy Soiron authored
-