Files
gitlabhq/app
Stan Hu fbe5bf762d Fix bug where projects would appear to be stuck in the forked import state
A race condition existed between when Rails committed the `import_status` to
`started` and when the Sidekiq worker forked a project. If this fork was quick,
it's possible that the worker would attempt to move into the `finished` state
before the `started` state took effect.

As mentioned in https://github.com/mperham/sidekiq/wiki/Problems-and-Troubleshooting#cannot-find-modelname-with-id12345,
we should delay the worker to ensure the DB has a chance to update.

Closes #2736
2015-09-25 01:14:54 -07:00
..
2015-09-24 15:10:25 +02:00
2015-02-20 16:01:37 +01:00