22c1c9805b
It could happen that there's a cached (in Redis) ApplicationSetting record, and calling `Gitlab::CurrentSettings.current_application_settings` only returns it instead of creating a new DB record, which makes the `ApplicationSetting.current_without_cache.update!` call fail. Signed-off-by: Rémy Coutable <remy@rymai.me> |
||
---|---|---|
.. | ||
01_admin.rb | ||
02_application_settings.rb | ||
03_project.rb | ||
04_labels.rb | ||
05_users.rb | ||
06_teams.rb | ||
07_milestones.rb | ||
09_issues.rb | ||
10_merge_requests.rb | ||
11_keys.rb | ||
12_snippets.rb | ||
13_comments.rb | ||
14_pipelines.rb | ||
15_award_emoji.rb | ||
16_protected_branches.rb | ||
17_cycle_analytics.rb | ||
18_abuse_reports.rb | ||
19_environments.rb | ||
20_nested_groups.rb | ||
21_conversational_development_index_metrics.rb | ||
23_spam_logs.rb | ||
24_forks.rb | ||
25_api_personal_access_token.rb | ||
99_common_metrics.rb |