Configuration options related to Index API.

Hierarchy

  • IndexingConfig

Constructors

Properties

allowQueriesBeforeHistoricalSync: boolean = false

Allow serving indexing queries if historical indexing is not done yet.

db: string

Connection string to a database. Only sqlite and postgres are supported. Examples:

  • sqlite:///path/to/database.sqlite,
  • postgres:///user:password@host:5432/database
disableComposedb: boolean = false

Allow Ceramic node to run in stand-along mode without Compose DB enabled

enableHistoricalSync: boolean = false

Enable Historical data sync worker for Compose DB indexing

maxConnectionPoolSize?: number

Setting this will adjust the max connection pool size for postgres, default is 10. Values lower than 1 will be set to 1