You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vapor's Request is not thread safe which means that nothing must call request.<anything> unless you're guaranteed to be on request.eventLoop already (until #2951 is fixed).
But Vapor's own async code doesn't respect that rule.
Vapor's
Request
is not thread safe which means that nothing must callrequest.<anything>
unless you're guaranteed to be onrequest.eventLoop
already (until #2951 is fixed).But Vapor's own async code doesn't respect that rule.
For example this code here
vapor/Sources/Vapor/Concurrency/RoutesBuilder+Concurrency.swift
Line 133 in 4709b92
needs to be
Obviously the above suggestion is just bandaid,
Request
has to become thread safe for it to be viable to use the async support.The text was updated successfully, but these errors were encountered: