From 1b6b3f6bf6d8aca1737efdc817ac3dfa6d642af0 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Wed, 20 Mar 2024 09:12:23 +0100 Subject: [PATCH] fix: blutgang new version --- charts/blutgang/Chart.yaml | 2 +- charts/blutgang/README.md | 2 +- charts/blutgang/values.yaml | 10 +++++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/charts/blutgang/Chart.yaml b/charts/blutgang/Chart.yaml index 1f8e9c7f..667b136f 100644 --- a/charts/blutgang/Chart.yaml +++ b/charts/blutgang/Chart.yaml @@ -7,7 +7,7 @@ icon: https://github.com/rainshowerLabs/blutgang/assets/55022497/ec668c7a-5f56-4 sources: - https://github.com/rainshowerLabs/blutgang type: application -version: 0.0.4 +version: 0.0.5 maintainers: - name: barnabasbusa email: busa.barnabas@gmail.com diff --git a/charts/blutgang/README.md b/charts/blutgang/README.md index 17fc66dd..f7f7c230 100644 --- a/charts/blutgang/README.md +++ b/charts/blutgang/README.md @@ -1,7 +1,7 @@ # blutgang -![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.0.5](https://img.shields.io/badge/Version-0.0.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Blutgang is a blazing fast, caching, minimalistic load balancer designed with Ethereum's JSON-RPC in mind. Historical RPC queries are cached in a local database, bypassing the need for slow, repeating calls to your node. diff --git a/charts/blutgang/values.yaml b/charts/blutgang/values.yaml index fc381a4d..db932df7 100644 --- a/charts/blutgang/values.yaml +++ b/charts/blutgang/values.yaml @@ -49,6 +49,9 @@ config: | sort_on_startup = {{ .Values.blutgangNamespace.sort_on_startup | default true }} # Enable health checking health_check = {{ .Values.blutgangNamespace.health_check | default true }} + # Enable content type header checking. Set this to `true` if you want + # Blutgang to be JSON-RPC compliant. + header_check = {{ .Values.blutgangNamespace.header_check | default true}} # Acceptable time to wait for a response in ms ttl = {{ .Values.blutgangNamespace.ttl | default 300 }} # How many times to retry a request before giving up @@ -92,7 +95,7 @@ config: | # Print DB profile when dropped. Doesn't do anything for now. print_profile = false # Frequency of flushes in ms - flush_every_ms = 24000 + flush_every_ms = 240 # Add seperate RPCs as TOML tables # DO NOT name an rpc `blutgang`, `admin`, or `sled` @@ -102,9 +105,9 @@ config: | {{- if .ws_url }} ws_url = {{ .ws_url | quote }} {{- end }} - # The maximum ammount of time we can use this rpc in a row. + # The maximum amount of time we can use this rpc in a row. max_consecutive = {{ .max_consecutive | default 150 }} - # Max ammount of querries per second. + # Max amount of querries per second. max_per_second = {{ .max_per_second | default 200 }} {{- end }} @@ -115,6 +118,7 @@ blutgangNamespace: ma_length: 100 sort_on_startup: true health_check: true + header_check: true ttl: 300 max_retries: 32 expected_block_time: 13000