-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task Manager #1167
base: develop
Are you sure you want to change the base?
Task Manager #1167
Conversation
Adding a celery task manager that will become the basis for much of the future POCS operation. Maybe. ;) For now the simple command line utilities will start and stop the messaging and results backend using the python docker sdk.
Codecov ReportBase: 83.08% // Head: 73.04% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #1167 +/- ##
============================================
- Coverage 83.08% 73.04% -10.05%
============================================
Files 86 96 +10
Lines 7425 8072 +647
Branches 635 896 +261
============================================
- Hits 6169 5896 -273
- Misses 1083 2036 +953
+ Partials 173 140 -33
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
…int. The `name` of the service is auto-created.
…her than a dict.
* Use `redis` for both messaging and results to make things simple. * Adding a `start-worker` command to the cli that will start a celery work with either full namespace or relative to `panoptes.pocs.utils.service`.
…ostly used by the cli.
Adding POCS specific errors
* Use the `SiteDetails` dataclass.
… method that takes entire observation in one call.
* config server * power monitor * weather reader.
* Use `htpdate` instead of `ntpdate`. Use `google.com`. Run for all installs, not just RPi. * auto discover the router ip address and use that to set the NFS share for the host. * Install `supervisor` (config file coming). Remove systemd services. * Remove old docker pulls.
* Rename `task` to `controller`. Add the `worker`, which is a copy of what comes from `pocs-camera`.
Adding a celery task manager that will become the basis for much of the future POCS operation. Maybe. ;)
For now the simple command line utilities will start and stop the messaging (rabbitmq) and results backend (redis) using the python docker sdk.
Description
The
celery
distributed task manager will allow for a number of tasks to be run in a distributed manner. For the POCS core this can include things that need knowledge of the time (e.g. startup at sunset rather than issue a sleep timer at sundown), but can also start to serve as the basis for distributed hardware control (e.g. the forth-coming task-based gphto2 camera class).