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
The AsyncDataloader could be improved in some ways to support Rails better:
With isolation_level = :fiber, if you call connected_to { ... } in the surrounding context (parent Fiber), then child Fibers don't respect that -- but they should in this case.
Database connections used by Fibers aren't released automatically when the Fiber terminates. AsyncDataloader should manually release its connection when its work is finished
I think these are both good defaults and it can be accomplished with a Rails-specific module included as-needed, or something similar.
The text was updated successfully, but these errors were encountered:
The
AsyncDataloader
could be improved in some ways to support Rails better:isolation_level = :fiber
, if you callconnected_to { ... }
in the surrounding context (parent Fiber), then child Fibers don't respect that -- but they should in this case.I think these are both good defaults and it can be accomplished with a Rails-specific module included as-needed, or something similar.
The text was updated successfully, but these errors were encountered: