Skip to content

Commit

Permalink
Add ability to set custom poolSize for graph
Browse files Browse the repository at this point in the history
  • Loading branch information
antares-sw committed Jun 14, 2024
1 parent 6ceeed0 commit 6c942d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions charts/graph-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.0.3
version: 3.0.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.32.0"
appVersion: "v0.35.0"

keywords:
- graph-node
Expand Down
11 changes: 6 additions & 5 deletions charts/graph-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ graph:
database: ""
username: ""
password: ""
poolSize: "30"

# -- Blockchain configuration for Graph Node
chains:
# -- Ethereum Mainnet
# -- Ethereum Mainnet
mainnet:
# -- Enable this configuring graph-node with this chain
enabled: false
# -- The database shard to use for this chain
shard: primary
## -- A list of JSON-RPC endpoints for this node
provider:
-
# -- Label for the RPC endpoint
- # -- Label for the RPC endpoint
label: eth-mainnet
# -- URL for JSON-RPC endpoint
url: ""
Expand All @@ -67,7 +67,7 @@ graph:
[store]
[store.primary]
connection = "postgresql://{{ $.Values.graph.postgresql.username }}:{{ $.Values.graph.postgresql.password }}@{{ $.Values.graph.postgresql.host }}:{{ $.Values.graph.postgresql.port }}/{{ $.Values.graph.postgresql.database }}"
pool_size = 30
pool_size = {{ $.Values.graph.postgresql.poolSize }}
weight = 1
# Chain configuration
{{- $patchedChains := dict "ingestor" (print (include "common.names.fullname" $) "-0" ) }}
Expand Down Expand Up @@ -136,7 +136,8 @@ service:
ingress:
enabled: false
className: ""
annotations: {}
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
Expand Down

0 comments on commit 6c942d4

Please sign in to comment.