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

Default values of configs #1508

Merged
merged 2 commits into from
Dec 2, 2022
Merged

Conversation

mridulji
Copy link
Contributor

@mridulji mridulji commented Nov 4, 2022

What this PR does / Why we need it: This PR sets the default values of various configs in matchmaker_config_override.yaml file of open-match override configmap to ensure smooth start-up of all deployments in case any config is missing or omitted. Below is the list of default values of respective configs:

  • registrationInterval: 1s
  • proposalCollectionInterval: 10s
  • pendingReleaseTimeout: 1m
  • assignedDeleteTimeout: 10m
  • queryPageSize: 1000
  • backfillLockTimeout: 1m

Which issue(s) this PR fixes:

Closes #1013

Special notes for your reviewer:

@mridulji mridulji added this to the v1.6.0 milestone Nov 23, 2022
Copy link
Contributor

@syntxerror syntxerror left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@syntxerror syntxerror merged commit 04c019c into googleforgames:main Dec 2, 2022
@mridulji mridulji added enhancement New feature or request area/refinement labels Dec 5, 2022
syntxerror added a commit that referenced this pull request Dec 6, 2022
* Default values of configs (#1508)

* setting validation and default values of configs

* config check in internal/config package

* Add open-match-override setting (#1490)

* Add open-match-override setting

* Added enabled

Co-authored-by: Jon Foust <38893532+syntxerror@users.noreply.github.com>
Co-authored-by: Mridul Goswami <mridulgoswami@google.com>

* shifted e2e tests to project root (#1481)

* release 1.6.0-rc.1 changes

* release changes for tutorials

* remaining changes

Co-authored-by: kemurayama <7068107+kemurayama@users.noreply.github.com>
Co-authored-by: Jon Foust <38893532+syntxerror@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/refinement enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor internal/config package and have it checks the necessary config values
2 participants