opensourceautomation / Open-Source-Automation

Open Source Automation is a home and commercial automation engine
www.opensourceautomation.com
GNU Lesser General Public License v3.0
97 stars 62 forks source link

Manager - Add Global Event control #358

Closed VaughnRupp closed 7 years ago

VaughnRupp commented 7 years ago

Manager should report the global events setting of the DB.

The main reason for this is if you stop OSA for a long time, you don't want to need the DB working away every second.

VaughnRupp commented 7 years ago

Since manager runs on clients too, I though it best to put the control in the service itself. So very simply now, if you stop the main service, the event_scheduler in MySQL stops too, so there is no load on the PC.