Commit Graph

2 Commits

Author SHA1 Message Date
Rémy Coutable 22c1c9805b
Fix ApplicationSetting development seed
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>
2019-04-10 15:56:46 +02:00
Rémy Coutable f37f28b962
Fix race cond. in ApplicationSettingImplementation.create_from_defaults
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-04 11:06:11 +02:00