The key/value store in Consul is used as persistence for state of Factotum job requests. Accurate state will become important when attempting to resume a failed job on a distributed system.
At the moment, Factotum Server will continue to accept further requests and processing what it has queued if the Consul server becomes unavailable (or never started up).
Change behaviour to handle what the server does when Consul is unavailable (at the very least, stop accepting further requests, and return a 503).
The key/value store in Consul is used as persistence for state of Factotum job requests. Accurate state will become important when attempting to resume a failed job on a distributed system.
At the moment, Factotum Server will continue to accept further requests and processing what it has queued if the Consul server becomes unavailable (or never started up).
Change behaviour to handle what the server does when Consul is unavailable (at the very least, stop accepting further requests, and return a 503).