cmars / juju-charm-gogs

Juju charm for Gogs: Go Git Service
Apache License 2.0
0 stars 1 forks source link

Charm workload status should be active only when gogs service is available #5

Open eviweb opened 7 years ago

eviweb commented 7 years ago

Currently, the status is set to active after a correct deployment but even if the gogs service is down. We expect the status to reflect the real state of the gogs service.

eviweb commented 7 years ago

The natural solution would be the use of the update-status hook. However the 5 minutes interval between 2 checks is too long to be enough reliable.

cmars commented 7 years ago

@eviweb Understood. It would be nice to be able to originate status asynchronously from outside the update-status loop, but this currently isn't possible.