Skip to content

feat(server): allow clients to set microbatch_max_interval per query#2049

Merged
Theodus merged 1 commit intomainfrom
theodus/streaming-options
Mar 30, 2026
Merged

feat(server): allow clients to set microbatch_max_interval per query#2049
Theodus merged 1 commit intomainfrom
theodus/streaming-options

Conversation

@Theodus
Copy link
Copy Markdown
Member

@Theodus Theodus commented Mar 30, 2026

Replace the server-wide server_microbatch_max_interval config with a per-query option using the existing SQL SETTINGS clause:

SELECT * FROM eth.logs SETTINGS stream = true, microbatch_max_interval = 5000

When not specified, the server falls back to the configured microbatch_max_interval.

@Theodus Theodus requested review from LNSD and leoyvens March 30, 2026 17:37
Replace the server-wide `server_microbatch_max_interval` config with a
per-query option using the existing SQL `SETTINGS` clause:

```sql
SELECT * FROM eth.logs SETTINGS stream = true, microbatch_max_interval = 5000
```

When not specified, the server falls back to the configured
`microbatch_max_interval`.
@Theodus Theodus force-pushed the theodus/streaming-options branch from f1ef077 to a9734ce Compare March 30, 2026 17:43
@Theodus Theodus merged commit f0c83be into main Mar 30, 2026
8 checks passed
@Theodus Theodus deleted the theodus/streaming-options branch March 30, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants