Skip to content

Commit 8378f79

Browse files
committed
Rework the maintenance job to support flashblocks
1 parent c686a62 commit 8378f79

40 files changed

+8149
-1075
lines changed

.env.example

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ TIPS_INGRESS_RPC_MEMPOOL=http://localhost:2222
55
TIPS_INGRESS_DUAL_WRITE_MEMPOOL=false
66
TIPS_INGRESS_KAFKA_BROKERS=localhost:9092
77
TIPS_INGRESS_KAFKA_TOPIC=tips-audit
8-
TIPS_INGRESS_LOG_LEVEL=debug
8+
TIPS_INGRESS_LOG_LEVEL=info
99
TIPS_INGRESS_KAFKA_QUEUE_TOPIC=tips-ingress-rpc
10+
TIPS_INGRESS_SEND_TRANSACTION_DEFAULT_LIFETIME_SECONDS=10800
1011

1112
# Audit service configuration
1213
TIPS_AUDIT_KAFKA_BROKERS=localhost:9092
1314
TIPS_AUDIT_KAFKA_TOPIC=tips-audit
1415
TIPS_AUDIT_KAFKA_GROUP_ID=local-audit
15-
TIPS_AUDIT_LOG_LEVEL=debug
16+
TIPS_AUDIT_LOG_LEVEL=info
1617
TIPS_AUDIT_S3_BUCKET=tips
1718
TIPS_AUDIT_S3_CONFIG_TYPE=manual
1819
TIPS_AUDIT_S3_ENDPOINT=http://localhost:7000
@@ -22,11 +23,13 @@ TIPS_AUDIT_S3_SECRET_ACCESS_KEY=minioadmin
2223

2324
# Maintenance
2425
TIPS_MAINTENANCE_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres
25-
TIPS_MAINTENANCE_RPC_NODE=http://localhost:2222
26+
TIPS_MAINTENANCE_RPC_URL=http://localhost:2222
27+
TIPS_MAINTENANCE_RPC_POLL_INTERVAL_MS=250
2628
TIPS_MAINTENANCE_KAFKA_BROKERS=localhost:9092
29+
TIPS_MAINTENANCE_FLASHBLOCKS_WS=ws://localhost:1115/ws
2730
TIPS_MAINTENANCE_KAFKA_TOPIC=tips-audit
28-
TIPS_MAINTENANCE_POLL_INTERVAL_MS=250
29-
TIPS_MAINTENANCE_LOG_LEVEL=debug
31+
TIPS_MAINTENANCE_LOG_LEVEL=info
32+
TIPS_MAINTENANCE_FINALIZATION_DEPTH=10
3033

3134
# TIPS UI
3235
TIPS_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres

.sqlx/query-2a6e99270e35859fd7a4ce4deeeb652f7d67c3e78b2749b00ff5a3814ed6664f.json

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-7d72b87eddd39d131ce083dcbff9e6c5fbdde1083aff6e4dca20508f177df536.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-85798b03a3dff0196ee1c64b1b21f74c6ac9046b4ccad4f1fc9876a7355616b0.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-c279740d623e06b3e3add31a6c15085bde3207756fe914837cef0cd12b864366.json renamed to .sqlx/query-92e3773f27ca3d15e43cd2a48c40898572b4ea735f94ebd9df04b86b67eab713.json

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-9f1f7117bba639cdc922de4e6870a34cd49c3e2826662fa3fe8af597d1e9e90b.json

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-b2f3046a06d9b8a76c59a38122a8fdc5ab2ae76baab1082b4d2b4c4ef01d2f74.json

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)