diff options
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/async.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/topics/async.txt b/docs/topics/async.txt index 87550ff46d..204d79fc8c 100644 --- a/docs/topics/async.txt +++ b/docs/topics/async.txt @@ -148,6 +148,11 @@ Transactions do not yet work in async mode. If you have a piece of code that needs transactions behavior, we recommend you write that piece as a single synchronous function and call it using :func:`sync_to_async`. +:ref:`Persistent database connections <persistent-database-connections>`, set +via the :setting:`CONN_MAX_AGE` setting, should also be disabled in async mode. +Instead, use your database backend's built-in connection pooling if available, +or investigate a third-party connection pooling option if required. + .. _async_performance: Performance |
