Skip to content

Add Seismic rate limiting#285

Open
cdrappi wants to merge 12 commits intoseismicfrom
rate-limiting-clean
Open

Add Seismic rate limiting#285
cdrappi wants to merge 12 commits intoseismicfrom
rate-limiting-clean

Conversation

@cdrappi
Copy link
Contributor

@cdrappi cdrappi commented Jan 13, 2026

No description provided.

let rate_limiter = SeismicRateLimiter::new(RateLimitConfig {
requests_per_second: 100, // 100 requests per second per IP
burst_size: 50, // Allow bursts of up to 50 requests
limited_methods: vec![], // Empty = limit all methods (except exempt)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ideally this can be an Option (None = limit all methods) or Some(vec!["specific_method"])

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