Skip to content

Code reloading is breaking ActiveJob #835

@Taucher2003

Description

@Taucher2003

We currently define ActiveJob callbacks in a reloadable constant (ApplicationJob). Therefore the callbacks are re-registered on every code reload and cause errors in the job processing because the callbacks aren't intended to run multiple times on the same job.

These callbacks should be moved into an initializer instead.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions