Skip to content

sidekiq scope potentially leaks when there's an exception #2012

@sl0thentr0py

Description

@sl0thentr0py

we're manually clearing scope in the middleware but if there's an exception in the job this might not run. We should just use push_scope instead to ensure cleanup.

Try this out with a proper test case and fix it.

Metadata

Metadata

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions