The Redcarpet library is not thread-safe as described in https://github.com/vmg/redcarpet/issues/570. Since we instantiate the Redcarpet renderer in a class variable, multiple Sidekiq threads can access the work buffer and corrupt the state. We work around this issue by memoizing the renderer on a thread basis. Closes #36637 |
||
|---|---|---|
| .. | ||
| filter | ||
| pipeline | ||
| reference_parser | ||
| renderer | ||
| commit_renderer.rb | ||
| cross_project_reference.rb | ||
| filter.rb | ||
| filter_array.rb | ||
| issuable_extractor.rb | ||
| note_renderer.rb | ||
| object_renderer.rb | ||
| pipeline.rb | ||
| querying.rb | ||
| redactor.rb | ||
| reference_extractor.rb | ||
| reference_parser.rb | ||
| renderer.rb | ||