gitlab-org--gitlab-foss/app/workers
Stan Hu 6fbbd4ab39 Only send one notification for failed remote mirror
Retries in Sidekiq and in the remote mirror scheduler can cause repeated
attempts in quick succession if the sync fails. Each failure will then
send an e-mail to all project maintainers, which can spam users
unnecessarily.

Modify the logic to send one notification the first time the mirror
fails by setting `error_notification_sent` to `true` and reset the
flag after a successful sync.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56222
2019-01-15 00:15:40 -08:00
..
auto_devops
ci Squashed commit of the following: 2018-11-29 14:35:00 +09:00
concerns Allow public forks to be deduplicated 2018-12-07 19:18:37 +01:00
deployments Squashed commit of the following: 2018-11-06 10:54:27 +09:00
gitlab/github_import Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
mail_scheduler Bump Ruby on Rails to 5.0.7.1 2018-12-21 23:32:25 +11:00
object_pool Ensure pool participants are linked before GC 2019-01-14 16:09:47 +01:00
object_storage
repository_check
todos_destroyer
admin_email_worker.rb
all_queues.yml Import CSV Backend 2019-01-07 11:16:58 +08:00
archive_trace_worker.rb Squashed commit of the following: 2018-11-29 14:35:00 +09:00
authorized_projects_worker.rb
background_migration_worker.rb
build_coverage_worker.rb
build_finished_worker.rb Fix types comment 2018-11-15 19:15:03 +09:00
build_hooks_worker.rb
build_queue_worker.rb
build_success_worker.rb Use fire_state_event 2018-11-06 11:45:39 +09:00
build_trace_sections_worker.rb
cluster_configure_worker.rb Rename ClusterPlatformConfigureWorker 2018-12-21 13:17:13 +00:00
cluster_install_app_worker.rb
cluster_project_configure_worker.rb Shift to class methods for RefreshService 2018-12-05 11:57:02 +13:00
cluster_provision_worker.rb Rename ClusterPlatformConfigureWorker 2018-12-21 13:17:13 +00:00
cluster_wait_for_app_installation_worker.rb
cluster_wait_for_ingress_ip_address_worker.rb
create_gpg_signature_worker.rb
create_note_diff_file_worker.rb
create_pipeline_worker.rb
delete_container_repository_worker.rb
delete_diff_files_worker.rb
delete_merged_branches_worker.rb
delete_stored_files_worker.rb Use FastDestroy for deleting uploads 2018-12-06 22:00:19 +01:00
delete_user_worker.rb
detect_repository_languages_worker.rb
email_receiver_worker.rb Apply patches when creating MR via email 2018-11-07 16:27:55 +01:00
emails_on_push_worker.rb
expire_build_artifacts_worker.rb
expire_build_instance_artifacts_worker.rb
expire_job_cache_worker.rb
expire_pipeline_cache_worker.rb
git_garbage_collect_worker.rb Ensure pool participants are linked before GC 2019-01-14 16:09:47 +01:00
gitlab_shell_worker.rb
gitlab_usage_ping_worker.rb
group_destroy_worker.rb
import_export_project_cleanup_worker.rb
import_issues_csv_worker.rb Remove caching of CSV file 2019-01-07 11:21:30 +08:00
invalid_gpg_signature_update_worker.rb
irker_worker.rb
issue_due_scheduler_worker.rb
merge_worker.rb
namespaceless_project_destroy_worker.rb Remove the ForkedProjectLink model 2018-10-19 11:57:20 +02:00
new_issue_worker.rb
new_merge_request_worker.rb
new_note_worker.rb Backports changes made to One notification per code review 2018-12-07 14:24:37 +00:00
pages_domain_verification_cron_worker.rb
pages_domain_verification_worker.rb
pages_worker.rb
pipeline_hooks_worker.rb
pipeline_metrics_worker.rb
pipeline_notification_worker.rb
pipeline_process_worker.rb
pipeline_schedule_worker.rb Squashed commit of the following: 2018-11-30 16:32:52 +09:00
pipeline_success_worker.rb
pipeline_update_worker.rb
plugin_worker.rb
post_receive.rb Add support for Git push options, specifically ci.skip 2018-12-31 13:57:53 -05:00
process_commit_worker.rb Fix types comment 2018-11-15 19:15:03 +09:00
project_cache_worker.rb
project_destroy_worker.rb
project_export_worker.rb
project_migrate_hashed_storage_worker.rb
project_service_worker.rb
propagate_service_template_worker.rb
prune_old_events_worker.rb Updated code comments for clarity based on 2 years 2018-10-06 10:09:49 +00:00
prune_web_hook_logs_worker.rb
reactive_caching_worker.rb Use record's primary key instead of hardcoded id 2019-01-08 21:24:55 +01:00
rebase_worker.rb
remote_mirror_notification_worker.rb Only send one notification for failed remote mirror 2019-01-15 00:15:40 -08:00
remove_expired_group_links_worker.rb
remove_expired_members_worker.rb
remove_unreferenced_lfs_objects_worker.rb
repository_archive_cache_worker.rb
repository_cleanup_worker.rb Use BFG object maps to clean projects 2018-12-06 18:58:00 +00:00
repository_fork_worker.rb Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
repository_import_worker.rb Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
repository_remove_remote_worker.rb
repository_update_remote_mirror_worker.rb Merge branch '54650-send-an-email-to-project-owners-when-a-mirror-update-fails' into 'master' 2018-12-12 13:31:53 +00:00
requests_profiles_worker.rb
run_pipeline_schedule_worker.rb Revert "Avoid conflicts between enumlator's schedule! method and state machine's schedule! method" 2018-10-04 16:35:05 +09:00
stage_update_worker.rb
storage_migrator_worker.rb
stuck_ci_jobs_worker.rb Improve performance of stale scheduled builds search 2018-10-03 18:52:18 +09:00
stuck_import_jobs_worker.rb Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
stuck_merge_jobs_worker.rb Adjust flaky Rails logger call test 2018-12-18 16:48:59 -02:00
system_hook_push_worker.rb
trending_projects_worker.rb
update_head_pipeline_for_merge_request_worker.rb Refactor the logic of updating head pipelines 2019-01-04 19:36:45 +09:00
update_merge_requests_worker.rb
upload_checksum_worker.rb
wait_for_cluster_creation_worker.rb
web_hook_worker.rb