···1313| `RELAY_HOST` | `wss://relay.fire.hose.cam` | websocket URL of the upstream firehose relay. |
1414| `PLC_URL` | `https://plc.wtf` | base URL(s) of the PLC directory (comma-separated for multiple). |
1515| `FULL_NETWORK` | `false` | if `true`, discovers and indexes all repositories in the network. |
1616-| `FIREHOSE_WORKERS` | `64` | number of concurrent workers for processing firehose events. |
1616+| `FIREHOSE_WORKERS` | `8` (`32` if full network) | number of concurrent workers for firehose events. |
1717| `BACKFILL_CONCURRENCY_LIMIT` | `128` | maximum number of concurrent backfill tasks. |
1818| `VERIFY_SIGNATURES` | `full` | signature verification level: `full`, `backfill-only`, or `none`. |
1919-| `CURSOR_SAVE_INTERVAL` | `10` | interval (in seconds) to save the firehose cursor. |
1919+| `CURSOR_SAVE_INTERVAL` | `5` | interval (in seconds) to save the firehose cursor. |
2020| `REPO_FETCH_TIMEOUT` | `300` | timeout (in seconds) for fetching repositories. |
2121| `CACHE_SIZE` | `256` | size of the database cache in MB. |
2222-| `IDENTITY_CACHE_SIZE` | `100000` | number of identity entries to cache. |
2222+| `IDENTITY_CACHE_SIZE` | `1000000` | number of identity entries to cache. |
2323| `API_PORT` | `3000` | port for the API server. |
2424| `ENABLE_DEBUG` | `false` | enable debug endpoints. |
2525| `DEBUG_PORT` | `3001` | port for debug endpoints (if enabled). |
2626| `NO_LZ4_COMPRESSION` | `false` | disable lz4 compression for storage. |
2727| `DISABLE_FIREHOSE` | `false` | disable firehose ingestion. |
2828| `DISABLE_BACKFILL` | `false` | disable backfill processing. |
2929+| `DB_WORKER_THREADS` | `4` (`8` if full network) | database worker threads. |
3030+| `DB_MAX_JOURNALING_SIZE_MB` | `512` (`1024` if full network) | max database journaling size in MB. |
3131+| `DB_PENDING_MEMTABLE_SIZE_MB` | `64` (`192` if full network) | pending memtable size in MB. |
3232+| `DB_BLOCKS_MEMTABLE_SIZE_MB` | `64` (`192` if full network) | blocks memtable size in MB. |
3333+| `DB_REPOS_MEMTABLE_SIZE_MB` | `64` (`192` if full network) | repos memtable size in MB. |
3434+| `DB_EVENTS_MEMTABLE_SIZE_MB` | `64` (`192` if full network) | events memtable size in MB. |
3535+| `DB_RECORDS_MEMTABLE_SIZE_MB` | `64` (`192` if full network) | records memtable size in MB. |
3636+| `CRAWLER_MAX_PENDING_REPOS` | `2000` | max pending repos for crawler. |
3737+| `CRAWLER_RESUME_PENDING_REPOS` | `1000` | resume threshold for crawler pending repos. |
29383039## api
3140