Skip to content

Commit f4ec7e8

Browse files
committed
Continuation should be eager_autoload
Otherwise it will only be loaded when the first job that uses Continuable is enqueued or executed.
1 parent c8915d2 commit f4ec7e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activejob/lib/active_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ module ActiveJob
4141
autoload :SerializationError, "active_job/arguments"
4242
autoload :UnknownJobClassError, "active_job/core"
4343
autoload :EnqueueAfterTransactionCommit
44-
autoload :Continuation
4544

4645
eager_autoload do
46+
autoload :Continuation
4747
autoload :Serializers
4848
autoload :ConfiguredJob
4949
end

0 commit comments

Comments
 (0)