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

merge core #5

Merged
merged 18 commits into from
Apr 4, 2024
Merged

merge core #5

merged 18 commits into from
Apr 4, 2024

Conversation

davidonete
Copy link
Owner

🍰 Pullrequest

Proof

  • None

Issues

  • None

How2Test

  • None

Todo / Checklist

  • None

cdkr and others added 18 commits March 23, 2024 19:01
* [Quest] rework Missing in Action quest using new systems

* add changes requested in comments
* Config: Implement config override with env vars

Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.
Usage example:
$ export CM_DATA_DIR=/usr
$ CM_WORLD_SERVER_PORT=8080 ./mangosd

* Update env var key format and encapsulated env loading logic.

The new env key format:
Mangosd_Rate_Health
Mangosd_DataDir

* Add suggestions from code review.

* Add missing includes.
I am expecting trouble, but we need to threat 0 as 0

Closes cmangos/issues#3685
@davidonete davidonete merged commit 2981427 into davidonete:modules Apr 4, 2024
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.

6 participants