Commit 4dc7be5319c5f4447b1c95af46100052dc84285c
1 parent
44889a88
Exists in
master
and in
17 other branches
Defer database initialization because of Redis
The database initialization expects Redis to be running. By letting the initialization happen later we can be more sure that Redis is already there.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/recipes/postgresql.rb
... | ... | @@ -153,5 +153,5 @@ execute "create #{db_name} database" do |
153 | 153 | user pg_user |
154 | 154 | not_if { !pg_helper.is_running? || pg_helper.database_exists?(db_name) } |
155 | 155 | retries 30 |
156 | - notifies :run, "execute[initialize database]", :immediately | |
156 | + notifies :run, "execute[initialize database]" | |
157 | 157 | end | ... | ... |