Commit graph

6 commits

Author SHA1 Message Date
Tiago Botelho
477c83f6bb Ports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4747 to CE 2018-03-05 11:31:23 +00:00
Douwe Maan
16b8297e77 Execute project hooks and services after commit when moving an issue 2017-12-22 17:19:50 +01:00
Douwe Maan
1e6ca3c41e Consistently schedule Sidekiq jobs 2017-12-05 11:59:39 +01:00
Douwe Maan
103b5bf60b Fix keys seed 2017-06-02 12:37:57 -05:00
Douwe Maan
a9dbda8605 Allow scheduling from after_commit hooks 2017-06-02 11:43:32 -05:00
Yorick Peterse
4edb505bb6 Forbid Sidekiq scheduling in transactions
Scheduling jobs in transactions can lead to race conditions where a job
runs before a transaction has been committed. The added initializer
ensures the various Sidekiq scheduling methods raise an error when
called inside a transaction.

Fixes #27233
2017-06-02 11:43:32 -05:00