summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2022-05-04 01:31:59 -0500
committerGitHub <noreply@github.com>2022-05-04 08:31:59 +0200
commit1109e669905d2011561e843f0ab7c2c02fb63c4d (patch)
tree094ff240e42156ff8f4658e1cde24b0e73aabb16 /docs/ref/forms
parent37470bbd9089b1c64a5783438b42b31336937845 (diff)
Refs #33646 -- Reduced sync_to_async hops on async QuerySet iteration.
Until we add support for truly asynchronous database backends it's actually detrimental to have complete set retrieval require multiple hops between sync and async emulated contexts via asgiref. By defaulting to sending the whole sync _fetch_all() to the current context thread pool we reduce unncessary work when dealing with large result sets since the queryset cannot be iterated anyway before all results are retrieved and cached.
Diffstat (limited to 'docs/ref/forms')
0 files changed, 0 insertions, 0 deletions