[KHOJ fork] Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.
Add a leader election mechanism to circumvent runtime issues for multiple schedulers
Reduce the load on the DB and risk of issues on the service side by limiting the execution environment to one elected leader at a given time. This one is responsible for managing all of the execution of the jobs, though all workers are capable of adding and removing jobs
Set a max duration for the schedule leader position (12 hrs), add some error if automation not added successfully
Add a leader election mechanism to circumvent runtime issues for multiple schedulers
Reduce the load on the DB and risk of issues on the service side by limiting the execution environment to one elected leader at a given time. This one is responsible for managing all of the execution of the jobs, though all workers are capable of adding and removing jobs
Set a max duration for the schedule leader position (12 hrs), add some error if automation not added successfully