Skip to content

Conversation

langbeinmovio
Copy link

Main feature: configure groups of databases, include/exclude groups of database. See updated README for usage.

Other changes:

  • configure maximum number of concurrent requests via same AppServer
  • update dependencies in build docker container
  • fix build status on README

Copy link
Owner

@marianogappa marianogappa left a comment

Choose a reason for hiding this comment

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

Hey! Thanks for contributing! 👍 How about keeping the camelCase for the JSON? I added suggestions for how to do it in the struct, but will require changes on the example. Otherwise do merge it.

const DefaultMaxAppServerConnections = 5

type settings struct {
MaxAppServerConnections int64
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
MaxAppServerConnections int64
MaxAppServerConnections int64 `json:"maxAppServerConnections"`


type settings struct {
MaxAppServerConnections int64
Databases map[string]database
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
Databases map[string]database
Databases map[string]database `json:"databases"`

type settings struct {
MaxAppServerConnections int64
Databases map[string]database
DatabaseGroups map[string][]string
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
DatabaseGroups map[string][]string
DatabaseGroups map[string][]string `json:"databaseGroups"`

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