mostly docs, some code tweaks as well (#31)

Db background tasks never shutdown o_O
This commit is contained in:
Carl Lerche
2020-04-13 21:02:32 -07:00
committed by GitHub
parent 757de6762d
commit 5752d1e0fc
8 changed files with 339 additions and 58 deletions

View File

@@ -112,6 +112,11 @@ the server to update the active subscriptions.
[broadcast]: https://docs.rs/tokio/*/tokio/sync/broadcast/index.html
[`StreamMap`]: https://docs.rs/tokio/*/tokio/stream/struct.StreamMap.html
### Using a `std::sync::Mutex` in an async application
The server uses a `std::sync::Mutex` and **not** a Tokio mutex to synchronize
access to shared state. See [`db.rs`](src/db.rs) for more details.
## Contributing
Contributions to `mini-redis` are welcome. Keep in mind, the goal of the project