solana-accountsdb-connector/connector-raw/example-config.toml

36 lines
837 B
TOML
Raw Normal View History

[source]
dedup_queue_size = 50000
rpc_ws_url = ""
2021-11-08 02:42:22 -08:00
[[source.grpc_sources]]
2021-11-09 06:07:42 -08:00
name = "server"
2021-11-08 02:42:22 -08:00
connection_string = "http://[::1]:10000"
retry_connection_sleep_secs = 30
#[source.grpc_sources.tls]
2021-11-18 05:21:17 -08:00
#ca_cert_path = "ca.pem"
#client_cert_path = "client.pem"
#client_key_path = "client.pem"
2021-11-30 08:15:41 -08:00
#domain_name = "example.com"
2021-11-18 05:21:17 -08:00
[source.snapshot]
2021-11-08 02:42:22 -08:00
rpc_http_url = ""
program_id = ""
[postgres_target]
connection_string = "host=/var/run/postgresql"
account_write_connection_count = 4
account_write_max_batch_size = 10
account_write_max_queue_size = 10000
slot_update_connection_count = 2
retry_query_max_count = 3
retry_query_sleep_secs = 5
retry_connection_sleep_secs = 30
fatal_connection_timeout_secs = 600
allow_invalid_certs = false
delete_old_data = true
monitoring_name = "example"
monitoring_update_interval_secs = 30
2022-01-20 07:20:16 -08:00
cleanup_interval_secs = 10