config/ServicesConfiguration.ts

kuzzle · lib/types/config/ServicesConfiguration.ts · typescript · Apache-2.0
database

Type definition for configuring Kuzzle core services like Elasticsearch and Redis.

// Source: https://github.com/kuzzleio/kuzzle | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import type {
  PublicCacheRedisConfiguration,
  InternalCacheConfiguration,
  StorageEngineElasticsearch,
} from "../index";

export type ServicesConfiguration = {
  common: {
    /**
     * Time in ms after which a service is considered failing if
     * it has not init.
     *
     * @default 120000
     */
    defaultInitTimeout: number;

    /**
     * Default interval in ms between Kuzzle tries to init
     * the service again on first failure.
     *
     * @default 1000
     */
    retryInterval: number;
  };

  /**
   * The database engine used for Kuzzle internal index
   */
  i

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key