diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2017-02-20 14:28:05 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-06-02 11:43:32 -0500 |
commit | 4edb505bb6783525444dd0179d1fb536a5cd1390 (patch) | |
tree | 6640d0a27a56beaa980b90a746bacc2eb699a4e7 /db/fixtures | |
parent | 51c196160adfbdb723fa6295cddf74a5ce033d6b (diff) | |
download | gitlab-ce-4edb505bb6783525444dd0179d1fb536a5cd1390.tar.gz |
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
Diffstat (limited to 'db/fixtures')
0 files changed, 0 insertions, 0 deletions