Question about "Example chirpstack.toml configuration"

Viewed 12
Hi,

Looking at the Configuration examples listed on this URL, I have two questions:

https://www.chirpstack.io/docs/chirpstack/configuration.html

Q1.
[logging]
  # Log as JSON.
  json=false

  # Flatten JSON logs
  json=false

Both "Log as JSON" and "Flatten JSON logs" are set to "  json=false".
Is this configuration correct?

Q2.
What criteria should be used to set the values for postgresql and sqlite connections?

[postgresql]
  max_open_connections=10

[sqlite]
  max_open_connections=4

Best,
1 Answers

The double json is a bug in the config template, this will be fixed in the next release (see: https://www.chirpstack.io/docs/chirpstack/changelog.html).

With regards the database connection parameters, please note that depending the downloaded binary (e.g. chirpstack vs chirpstack-sqlite) only one database is supported and needs to be configured. For small deployments, stick with the defaults. For larger deployments you can increase these numbers but then you also need to know what the max number of connections are supported by your database (you probably want to use the PostgreSQL binary for larger deployments).

In general, the defaults should be sane to use for normal deployments.