Skip to content

Commit

Permalink
relay-builder: increase default max REQs to 500
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Kishimoto <[email protected]>
  • Loading branch information
yukibtc committed Jan 29, 2025
1 parent e8100fd commit ee0596b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
* lmdb: use `EventBorrow` instead of `DatabaseEvent` ([Yuki Kishimoto])
* ndb: refactor note-to-event conversion ([Yuki Kishimoto])
* relay-builder: refactor shutdown mechanism to use `Notify` over `broadcast` ([Yuki Kishimoto])
* relay-builder: increase default max REQs to 500 ([Yuki Kishimoto])

### Added

Expand Down
2 changes: 1 addition & 1 deletion crates/nostr-relay-builder/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub struct RateLimit {
impl Default for RateLimit {
fn default() -> Self {
Self {
max_reqs: 20,
max_reqs: 500,
notes_per_minute: 60,
}
}
Expand Down

0 comments on commit ee0596b

Please sign in to comment.