Skip to content

sl_controller: report correct state when asked.#6

Merged
joe7575 merged 1 commit intojoe7575:masterfrom
realmicu:master
Oct 21, 2018
Merged

sl_controller: report correct state when asked.#6
joe7575 merged 1 commit intojoe7575:masterfrom
realmicu:master

Conversation

@realmicu
Copy link
Contributor

LUA Controller now correctly responds to state requests, returning
'running' or 'stopped' according to its operational status.

Signed-off-by: Michal Cieslakiewicz michal.cieslakiewicz@wp.pl

LUA Controller now correctly responds to state requests, returning
'running' or 'stopped' according to its operational status.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
@realmicu
Copy link
Contributor Author

Hi joe7575!
I followed your request on Minetest forum and created Pull Request. I'm new to Lua and modding but I hope you find functionality provided by this little patch valuable for your project. I'm using this with no problem on stable 0.4.17.1 for hours already. The general idea was to allow controllers to check other controllers for failures (mainly dead batteries) and take over their work (simple failover clustering).

@joe7575
Copy link
Owner

joe7575 commented Oct 21, 2018

Hi Micu,
Good work, thanks a lot.
I should never have started the two different states, but now it's too late.

@joe7575 joe7575 merged commit 37941bb into joe7575:master Oct 21, 2018
oversword pushed a commit to oversword/techpack that referenced this pull request May 13, 2021
Resolve old functionality with re-write
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants