Skip to content

Start ENSRainbow server immediately and download database in background #1610

@djstrong

Description

@djstrong

For providing health checks in ENSRainbow we need to start ENSRainbow without database loaded. Based on #1605 (lazy loading of database during serving endpoints) we should run downloading and validation of database (entrypoint.sh) in background (using setTimeout, unsuccessful exit code should cause process.exit). This should be a new pnpm command, e.g. pnpm entrypoint.

ENSRainbow clients should wait for ready endpoint.

Revert changes from: #1607

Metadata

Metadata

Assignees

Labels

devopsDevOps relatedensapiENSApi relatedensindexerENSIndexer relatedensrainbowENSRainbow related

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions