moonfire-nvr/guide
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
..
build.md drop ffmpeg support 2022-03-18 13:22:47 -07:00
developing-ui.md mass markdown reformatting 2021-04-01 12:32:31 -07:00
install-version.png add screenshot for selecting guide ver 2022-03-16 12:35:57 -07:00
install.md prepare v0.7.2 2022-03-16 18:31:12 -07:00
schema.md preparing v0.7.0 2021-10-26 18:54:26 -07:00
secure.md move perms to proper spot in config 2022-03-16 18:31:07 -07:00
troubleshooting.md rework stream threading model 2022-04-13 11:39:38 -07:00