1
0
mirror of https://github.com/actix/examples synced 2025-06-28 09:50:36 +02:00

update to beta.1

This commit is contained in:
Nikolay Kim
2019-04-21 09:36:31 -07:00
parent 0faa540b8d
commit 52811611d0
4 changed files with 24 additions and 11 deletions

View File

@ -8,7 +8,7 @@ This project illustrates two examples:
2. An asynchronous handler that executes 4 queries in *parallel*,
collecting the results and returning them as a single serialized json object
Note: The use of sleep(Duration::from_secs(2)); in db.rs is to make performance
Note: The use of sleep(Duration::from_secs(2)); in db.rs is to make performance
improvement with parallelism more obvious.
*/
use std::io;