moonfire-nvr/server
Scott Lamb 7b0a489541 rework stream threading model
Fixes #206. 307a388 switched to creating a single-threaded runtime for
each stream, then destroying prior to waiting for TEARDOWN on shutdown.
This meant that the shutdown process could panic with this error:

```
panic at '/home/slamb/git/retina/src/client/mod.rs:219:22': teardown Sender shouldn't be dropped: RecvError(())
```

Let's switch back to expecting a multithreaded runtime context.
Create one for the config subcommand, too.

Don't go all the way back to the old code with its channels, though.
That had the downside that the underlying retina::Session might outlive
the caller, so there could still be an active session when we start
the next one. I haven't seen this cause problems in practice but it
still doesn't seem right.
2022-04-13 11:39:38 -07:00
..
base fix #187 via a dependency upgrade 2022-03-08 11:24:44 -08:00
db prepare v0.7.3 2022-03-22 14:56:15 -07:00
src rework stream threading model 2022-04-13 11:39:38 -07:00
Cargo.lock upgrade to Retina v0.3.9 2022-04-12 15:00:35 -07:00
Cargo.toml upgrade to Retina v0.3.9 2022-04-12 15:00:35 -07:00