Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not rely on in-process event emitters #522

Merged
merged 2 commits into from
Jun 5, 2022
Merged

Conversation

goto-bus-stop
Copy link
Member

The configuration system is still a bit halfbaked, but one of its problems is that it relies on a simple EventEmitter to notify the server about configuration changes. I still kinda want this to be able to run in multiple processes eventually (eg. rest api + websocket as separate processes), this would be one requirement to get to that situation.

Also removing some obsolete stuff from the HttpApi implementation … may need to re-add it if we dooo end up with the ability to run rest and WS separately but for now it does nothing.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 78.356% when pulling c5d16fb on no-local-emission into c5475a1 on default.

@goto-bus-stop goto-bus-stop merged commit 6ba6a00 into default Jun 5, 2022
@goto-bus-stop goto-bus-stop deleted the no-local-emission branch June 5, 2022 12:10
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.

None yet

2 participants