0.5.1-pre.004
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!-- file: config/README.md -->
|
||||
<!-- version: 18 -->
|
||||
<!-- version: 19 -->
|
||||
|
||||
# Configuration locale
|
||||
|
||||
@@ -26,12 +26,12 @@ Ce dossier contient les exemples et le schéma de configuration JSON.
|
||||
`example.config.json` conserve la topologie des profils et référence les valeurs locales avec des placeholders :
|
||||
|
||||
```text
|
||||
HELIUS_API_KEY
|
||||
KB_POSTGRES_MAINNET_URL
|
||||
KB_POSTGRES_DEVNET_URL
|
||||
KS_SECRET_HELIUS_API_KEY
|
||||
KS_SECRET_POSTGRES_MAINNET_URL
|
||||
KS_SECRET_POSTGRES_DEVNET_URL
|
||||
```
|
||||
|
||||
`KB_POSTGRES_TEST_URL` n’est pas utilisé par un profil runtime : il reste réservé aux tests d’intégration PostgreSQL. Le profil `local_devnet` utilise `KB_POSTGRES_DEVNET_URL`; les profils `mainnet_research` et `mainnet` utilisent `KB_POSTGRES_MAINNET_URL`. Les trois bases doivent être distinctes.
|
||||
`KS_SECRET_POSTGRES_TEST_URL` n’est pas utilisé par un profil runtime : il reste réservé aux tests d’intégration PostgreSQL. Le profil `local_devnet` utilise `KS_SECRET_POSTGRES_DEVNET_URL`; les profils `mainnet_research` et `mainnet` utilisent `KS_SECRET_POSTGRES_MAINNET_URL`. Les trois bases doivent être distinctes.
|
||||
|
||||
Le fichier réel `.env` reste local et ignoré par Git. `.env.example` est le seul modèle dotenv versionné.
|
||||
|
||||
@@ -101,4 +101,3 @@ http_transactions:
|
||||
Un fichier de configuration local déjà créé n’est pas modifié automatiquement lorsque `example.config.json` évolue. L’opérateur doit reporter explicitement ces valeurs dans son profil `local_devnet`.
|
||||
|
||||
Un warning `retry_http_json_rpc_after_rate_limit` reste possible sur un service public partagé. Il indique que le cooldown et le retry borné ont été activés ; il ne constitue un échec que si les tentatives finissent par être épuisées.
|
||||
|
||||
|
||||
@@ -1195,7 +1195,7 @@
|
||||
"enabled": true,
|
||||
"backend": "postgres",
|
||||
"postgres": {
|
||||
"url": "${KB_POSTGRES_DEVNET_URL}",
|
||||
"url": "${KS_SECRET_POSTGRES_DEVNET_URL}",
|
||||
"max_connections": 8,
|
||||
"connect_timeout_ms": 5000,
|
||||
"auto_initialize_schema": true
|
||||
@@ -2613,7 +2613,7 @@
|
||||
"enabled": true,
|
||||
"backend": "postgres",
|
||||
"postgres": {
|
||||
"url": "${KB_POSTGRES_MAINNET_URL}",
|
||||
"url": "${KS_SECRET_POSTGRES_MAINNET_URL}",
|
||||
"max_connections": 16,
|
||||
"connect_timeout_ms": 5000,
|
||||
"auto_initialize_schema": true
|
||||
@@ -2764,7 +2764,7 @@
|
||||
"enabled": true,
|
||||
"provider": "helius",
|
||||
"cluster": "mainnet-beta",
|
||||
"url": "https://mainnet.helius-rpc.com/?api-key=${HELIUS_API_KEY}",
|
||||
"url": "https://mainnet.helius-rpc.com/?api-key=${KS_SECRET_HELIUS_API_KEY}",
|
||||
"connect_timeout_ms": 4000,
|
||||
"request_timeout_ms": 10000,
|
||||
"max_idle_connections_per_host": 8,
|
||||
@@ -2924,7 +2924,7 @@
|
||||
"enabled": true,
|
||||
"provider": "helius",
|
||||
"cluster": "mainnet-beta",
|
||||
"url": "wss://mainnet.helius-rpc.com/?api-key=${HELIUS_API_KEY}",
|
||||
"url": "wss://mainnet.helius-rpc.com/?api-key=${KS_SECRET_HELIUS_API_KEY}",
|
||||
"connect_timeout_ms": 5000,
|
||||
"request_timeout_ms": 10000,
|
||||
"unsubscribe_timeout_ms": 1500,
|
||||
@@ -4231,7 +4231,7 @@
|
||||
"enabled": true,
|
||||
"backend": "postgres",
|
||||
"postgres": {
|
||||
"url": "${KB_POSTGRES_MAINNET_URL}",
|
||||
"url": "${KS_SECRET_POSTGRES_MAINNET_URL}",
|
||||
"max_connections": 16,
|
||||
"connect_timeout_ms": 5000,
|
||||
"auto_initialize_schema": true
|
||||
@@ -4382,7 +4382,7 @@
|
||||
"enabled": true,
|
||||
"provider": "helius",
|
||||
"cluster": "mainnet-beta",
|
||||
"url": "https://mainnet.helius-rpc.com/?api-key=${HELIUS_API_KEY}",
|
||||
"url": "https://mainnet.helius-rpc.com/?api-key=${KS_SECRET_HELIUS_API_KEY}",
|
||||
"connect_timeout_ms": 4000,
|
||||
"request_timeout_ms": 10000,
|
||||
"max_idle_connections_per_host": 8,
|
||||
@@ -4542,7 +4542,7 @@
|
||||
"enabled": true,
|
||||
"provider": "helius",
|
||||
"cluster": "mainnet-beta",
|
||||
"url": "wss://mainnet.helius-rpc.com/?api-key=${HELIUS_API_KEY}",
|
||||
"url": "wss://mainnet.helius-rpc.com/?api-key=${KS_SECRET_HELIUS_API_KEY}",
|
||||
"connect_timeout_ms": 5000,
|
||||
"request_timeout_ms": 10000,
|
||||
"unsubscribe_timeout_ms": 1500,
|
||||
|
||||
Reference in New Issue
Block a user