Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update to Platform v1.1 #662

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ansible/roles/dashmate/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dashmate_platform_tenderdash_pprof_enable: false
dashmate_platform_gateway_log_level: info
dashmate_platform_gateway_max_connections: 5000
dashmate_platform_gateway_listeners_dapi_and_drive_http2_max_concurrent_streams: 100
dashmate_platform_gateway_listeners_dapi_and_drive_wait_for_st_result_timeout: "125s"
dashmate_platform_gateway_max_heap_size_in_bytes: 125000000 # 1 Gb
dashmate_platform_gateway_upstreams_drive_grpc_max_requests: 10000
dashmate_platform_gateway_upstreams_dapi_api_max_requests: 10000
Expand All @@ -32,12 +33,15 @@ dashmate_platform_gateway_rate_limiter_metrics_port: 9102
dashmate_platform_gateway_rate_limiter_unit: "minute"
dashmate_platform_gateway_rate_limiter_requests_per_unit: 150
dashmate_platform_dapi_api_docker_deploy_replicas: 1
dashmate_platform_dapi_api_wait_for_st_result_timeout: 120000
dashmate_platform_drive_abci_metrics_enabled: false
dashmate_platform_drive_abci_metrics_port: 29090
dashmate_platform_drive_tenderdash_p2p_flush_throttle_timeout: "100ms"
dashmate_platform_drive_tenderdash_p2p_max_packet_msg_payload_size: 10240
dashmate_platform_drive_tenderdash_p2p_send_rate: 5120000
dashmate_platform_drive_tenderdash_p2p_recv_rate: 5120000
dashmate_platform_drive_tenderdash_p2p_max_connections: 64
dashmate_platform_drive_tenderdash_p2p_max_outgoing_connections: 30
dashmate_platform_drive_tenderdash_mempool_size: 5000
dashmate_platform_drive_tenderdash_mempool_cache_size: 10000
dashmate_platform_drive_tenderdash_mempool_max_txs_bytes: 536870912 # 500Mb, default: 1073741824
Expand Down
10 changes: 7 additions & 3 deletions ansible/roles/dashmate/templates/dashmate.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@
"port": {{ gateway_port }},
"http2": {
"maxConcurrentStreams": {{ dashmate_platform_gateway_listeners_dapi_and_drive_http2_max_concurrent_streams }}
}
},
"waitForStResultTimeout": "{{ dashmate_platform_gateway_listeners_dapi_and_drive_wait_for_st_result_timeout }}"
}
},
"rateLimiter": {
Expand Down Expand Up @@ -239,7 +240,8 @@
"dockerFile": "{{ dashmate_source_dir }}/packages/dapi/Dockerfile",
"target": ""
}
}
},
"waitForStResultTimeout": {{ dashmate_platform_dapi_api_wait_for_st_result_timeout }}
}
},
"drive": {
Expand Down Expand Up @@ -342,7 +344,9 @@
"flushThrottleTimeout": "{{dashmate_platform_drive_tenderdash_p2p_flush_throttle_timeout}}",
"maxPacketMsgPayloadSize": {{dashmate_platform_drive_tenderdash_p2p_max_packet_msg_payload_size}},
"sendRate": {{dashmate_platform_drive_tenderdash_p2p_send_rate}},
"recvRate": {{dashmate_platform_drive_tenderdash_p2p_recv_rate}}
"recvRate": {{dashmate_platform_drive_tenderdash_p2p_recv_rate}},
"maxConnections": {{dashmate_platform_drive_tenderdash_p2p_max_connections}},
"maxOutgoingConnections": {{dashmate_platform_drive_tenderdash_p2p_max_outgoing_connections}}
},
"mempool": {
"cacheSize": {{dashmate_platform_drive_tenderdash_mempool_cache_size}},
Expand Down
Loading