~craftyguy/ridecasa

41d5a0cf40485e7f54d19fff1a24f5183f6bce60 — Clayton Craft 2 years ago 4ed3598
readme: change huey_consumer instructions to run with 'process'

This resolves a LOT of random exception throwing, probably due to the
default Huey threading backend (threading and the GIL...). Using
processes also has the benefit that true multiprocessing can be used to
import multiple activities faster on systems with more logical CPUs.
1 files changed, 1 insertions(+), 1 deletions(-)

M README.md
M README.md => README.md +1 -1
@@ 53,7 53,7 @@ The application uses a background task scheduler
([Huey](https://github.com/coleifer/huey)), it can be started with:

```
$ huey_consumer ridecasa.tasks.huey -w $(nproc)
$ huey_consumer ridecasa.tasks.huey -w $(nproc) -k process
```

### Reporting Problems