merge() #

Deprecated since 2.17.0

Merges a configuration object into the current configuration.

This method can only be used before the application is started.

merge(config: KuzzleConfigurationOverrides): void

ArgumentTypeDescription
config
KuzzleConfigurationOverrides
Configuration object to merge

Usage #

app.config.merge({
  limits: {
    documentsWriteCount: 1000
  }
})