Fix link to 'Multitasking' in state guide.

Co-authored-by: Stuart Hinson <stuart.hinson@gmail.com>
This commit is contained in:
Sergio Benitez 2021-05-22 22:06:59 -07:00
parent bacbf073ce
commit 57f27730e7
1 changed files with 3 additions and 3 deletions

View File

@ -341,9 +341,9 @@ async fn get_logs(conn: LogsDbConn, id: usize) -> Logs {
The database engines supported by `#[database]` are *synchronous*. Normally,
using such a database would block the thread of execution. To prevent this,
the `run()` function automatically uses a thread pool so that database access
does not interfere with other in-flight requests. See [Cooperative
Multitasking](../overview/#cooperative-multitasking) for more information on
why this is necessary.
does not interfere with other in-flight requests. See
[Multitasking](../overview/#multitasking) for more information on why this is
necessary.
If your application uses features of a database engine that are not available
by default, for example support for `chrono` or `uuid`, you may enable those