1. 24 Feb, 2016 1 commit
  2. 23 Feb, 2016 1 commit
  3. 22 Feb, 2016 1 commit
  4. 21 Feb, 2016 1 commit
  5. 19 Feb, 2016 2 commits
  6. 18 Feb, 2016 2 commits
  7. 17 Feb, 2016 4 commits
  8. 16 Feb, 2016 3 commits
  9. 15 Feb, 2016 5 commits
  10. 13 Feb, 2016 1 commit
    • Kirill Smelkov's avatar
      gitlab: Wait a bit for PostgreSQL to be ready in Unicorn startup · 949e55e2
      Kirill Smelkov authored
      As it was outlined in 5a744de7 (gitlab: Compile assets on instantiation
      and make sure DB is properly setup/migrated before unicorn runs) we are
      performing DB initialization and migration in pre-action as part of
      unicorn startup script. But that currently has one drawback:
      
          if all services start at the same time - e.g. both PostgreSQL and
          Unicorn - and that is a common scenario when SR is compiled and
          instantiated / started, PostgreSQL is usually not yet ready to
          process queries from Unicorn startup script, and first-time Unicorn
          startup fails.
      
      Until now this problem was workarounded by manually starting unicorn
      second time - after some time postgresql is started and ready. But why
      do it manually, if we can do the same logic automatically. So fix it:
      
          in Unicorn startup script wait a bit (up to 5 seconds) for
          PostgreSQL to become ready.
      
      /cc @kazuhiko, @jerome
      949e55e2
  11. 12 Feb, 2016 2 commits
  12. 11 Feb, 2016 15 commits
  13. 10 Feb, 2016 2 commits