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
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
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
expire_build_artifacts_worker.rb
expire_build_instance_artifacts_worker.rb
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
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
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
process_commit_worker.rb
project_cache_worker.rb
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
prune_old_events_worker.rb
reactive_caching_worker.rb
remove_expired_group_links_worker.rb
remove_expired_members_worker.rb
remove_old_web_hook_logs_worker.rb
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
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
trending_projects_worker.rb
update_merge_requests_worker.rb
update_user_activity_worker.rb
upload_checksum_worker.rb
web_hook_worker.rb Skip dead jobs queue for web hooks and project services 2017-07-17 16:38:02 +01:00