gitlab-org--gitlab-foss/app/workers
Yorick Peterse b3566a0104
Stop using Sidekiq for updating Key#last_used_at
This makes things simpler as no scheduling is involved. Further we
remove the need for running a SELECT + UPDATE just to get the key and
update it, whereas we only need an UPDATE when setting last_used_at
directly in a request.

The added service class takes care of updating Key#last_used_at without
using Sidekiq. Further it makes sure we only try to obtain a Redis lease
if we're confident that we actually need to do so, instead of always
obtaining it. We also make sure to _only_ update last_used_at instead of
also updating updated_at.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36663
2017-09-20 14:24:14 +02:00
..
concerns Merge commit '2be34630623711fc20ef8c101b5cef688f207cc1' into backstage/gb/rename-ci-cd-processing-sidekiq-queues 2017-08-26 10:55:20 +02:00
repository_check Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
admin_email_worker.rb
authorized_projects_worker.rb Move sidekiq-based project authorization refresh out of Projects::CreateService 2017-08-25 16:19:32 +01:00
background_migration_worker.rb Improve exception description in bg migrations 2017-07-07 15:08:15 +02:00
build_coverage_worker.rb Assign some CI/CD workers to pipeline default queue 2017-08-21 14:24:05 +02:00
build_finished_worker.rb Remove sidekiq build queue and assign pipeline queue 2017-08-21 14:16:51 +02:00
build_hooks_worker.rb Remove sidekiq build queue and assign pipeline queue 2017-08-21 14:16:51 +02:00
build_queue_worker.rb Include build queue worker in the processing group 2017-08-22 10:40:56 +02:00
build_success_worker.rb Remove sidekiq build queue and assign pipeline queue 2017-08-21 14:16:51 +02:00
create_gpg_signature_worker.rb pass whole commit to Gitlab::Gpg::Commit again 2017-09-05 12:18:31 +02:00
delete_merged_branches_worker.rb
delete_user_worker.rb Add user deletion permission check in Users::DestroyService 2017-02-20 17:19:11 +01:00
email_receiver_worker.rb Don't send rejection mails for all auto-generated mails 2017-08-03 00:40:10 +08:00
emails_on_push_worker.rb Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
expire_build_artifacts_worker.rb
expire_build_instance_artifacts_worker.rb Update Carrierwave and fog-core 2017-05-01 20:15:16 +00:00
expire_job_cache_worker.rb Remove sidekiq build queue and assign pipeline queue 2017-08-21 14:16:51 +02:00
expire_pipeline_cache_worker.rb Assign all pipeline workers to specific queues 2017-08-21 14:02:20 +02:00
git_garbage_collect_worker.rb Adds exclusive lease to Git garbage collect worker. 2017-09-07 18:52:04 +01:00
gitlab_shell_worker.rb Whitelist or fix additional Gitlab/PublicSend cop violations 2017-08-14 12:14:11 -04:00
gitlab_usage_ping_worker.rb Add Conversational Development Index page to admin panel 2017-06-01 17:37:21 +02:00
group_destroy_worker.rb Enable 5 lines of Sidekiq backtrace lines to aid in debugging 2017-08-25 05:27:42 -07:00
import_export_project_cleanup_worker.rb
invalid_gpg_signature_update_worker.rb remove log statements from workers 2017-07-27 15:46:04 +02:00
irker_worker.rb Rename many path_with_namespace -> full_path 2017-08-01 07:26:58 +02:00
merge_worker.rb Track enqueued and ongoing MRs 2017-08-28 15:48:09 -03:00
namespaceless_project_destroy_worker.rb Enable 5 lines of Sidekiq backtrace lines to aid in debugging 2017-08-25 05:27:42 -07:00
new_issue_worker.rb Simplify checking if objects exist code in new issaubles workers 2017-08-08 12:43:55 +02:00
new_merge_request_worker.rb Simplify checking if objects exist code in new issaubles workers 2017-08-08 12:43:55 +02:00
new_note_worker.rb
pages_worker.rb Re-enable SqlInjection and CommandInjection 2017-08-08 10:50:54 -04:00
pipeline_hooks_worker.rb Assign all pipeline workers to specific queues 2017-08-21 14:02:20 +02:00
pipeline_metrics_worker.rb Assign some CI/CD workers to pipeline default queue 2017-08-21 14:24:05 +02:00
pipeline_notification_worker.rb Assign some CI/CD workers to pipeline default queue 2017-08-21 14:24:05 +02:00
pipeline_process_worker.rb Assign all pipeline workers to specific queues 2017-08-21 14:02:20 +02:00
pipeline_schedule_worker.rb Merge allowed_to_create? into CreatePipelineService 2017-07-05 21:55:35 +08:00
pipeline_success_worker.rb Assign all pipeline workers to specific queues 2017-08-21 14:02:20 +02:00
pipeline_update_worker.rb Simplify pipeline sidekiq queues naming scheme 2017-08-21 13:49:57 +02:00
post_receive.rb Use gl_repository exclusively as identifier on post-receive 2017-06-27 19:20:20 -04:00
process_commit_worker.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
project_cache_worker.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
project_destroy_worker.rb Enable 5 lines of Sidekiq backtrace lines to aid in debugging 2017-08-25 05:27:42 -07:00
project_export_worker.rb Enable 5 lines of Sidekiq backtrace lines to aid in debugging 2017-08-25 05:27:42 -07:00
project_service_worker.rb Skip dead jobs queue for web hooks and project services 2017-07-17 16:38:02 +01:00
propagate_service_template_worker.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
prune_old_events_worker.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
reactive_caching_worker.rb Merge branch '24185-legacy-ci-status-reactive-cache' into 'security' 2017-01-12 17:39:46 -05:00
remove_expired_group_links_worker.rb
remove_expired_members_worker.rb
remove_old_web_hook_logs_worker.rb Implement web hooks logging 2017-05-25 10:07:52 +03:00
remove_unreferenced_lfs_objects_worker.rb
repository_archive_cache_worker.rb
repository_fork_worker.rb Backports EE mirror stuck handling feature (https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2628) to CE 2017-08-17 13:38:05 +01:00
repository_import_worker.rb Enable 5 lines of Sidekiq backtrace lines to aid in debugging 2017-08-25 05:27:42 -07:00
requests_profiles_worker.rb
schedule_update_user_activity_worker.rb Remove Geo references 2017-04-14 15:20:55 +02:00
stage_update_worker.rb Enqueue a new stage worker in CI/CD processing queue 2017-08-22 14:59:16 +02:00
stuck_ci_jobs_worker.rb Fix enum lists 2017-09-05 14:30:28 +09:00
stuck_import_jobs_worker.rb Backports EE mirror stuck handling feature (https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2628) to CE 2017-08-17 13:38:05 +01:00
stuck_merge_jobs_worker.rb Store MergeWorker JID on merge request, and clean up stuck merges 2017-08-07 15:23:37 -03:00
system_hook_push_worker.rb Moved call of SystemHooksService from UpdateMergeRequestsWorker to GitPushServic… 2017-03-07 12:59:20 +00:00
trending_projects_worker.rb
update_merge_requests_worker.rb Moved call of SystemHooksService from UpdateMergeRequestsWorker to GitPushServic… 2017-03-07 12:59:20 +00:00
update_user_activity_worker.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
upload_checksum_worker.rb Add Upload model and UploadChecksumWorker worker 2017-03-06 14:41:09 -05:00
web_hook_worker.rb Skip dead jobs queue for web hooks and project services 2017-07-17 16:38:02 +01:00