Skip to content

feat: Add rate limiting to prevent spam messages (#72)#77

Merged
SudiptaPaul-31 merged 4 commits intoLumina-eX:mainfrom
Nexha-dev:main
Feb 28, 2026
Merged

feat: Add rate limiting to prevent spam messages (#72)#77
SudiptaPaul-31 merged 4 commits intoLumina-eX:mainfrom
Nexha-dev:main

Conversation

@Nexha-dev
Copy link
Contributor

  • Implement rate limiter with 5 messages per 10 seconds per wallet
  • Add rate limit check in WebSocket client before sending messages
  • Display user-friendly toast notification when limit exceeded
  • Implement optimistic UI rollback on rate limit failure
  • Add automatic cooldown reset with sliding window algorithm
  • Fix pre-existing syntax errors in chat page

Closes #72

- Implement rate limiter with 5 messages per 10 seconds per wallet
- Add rate limit check in WebSocket client before sending messages
- Display user-friendly toast notification when limit exceeded
- Implement optimistic UI rollback on rate limit failure
- Add automatic cooldown reset with sliding window algorithm
- Fix pre-existing syntax errors in chat page

Closes Lumina-eX#72
@SudiptaPaul-31
Copy link
Collaborator

@Nexha-dev Please resolve conflicts

@SudiptaPaul-31
Copy link
Collaborator

@Nexha-dev resolve conflicts

@Nexha-dev
Copy link
Contributor Author

@SudiptaPaul-31 conflicts resolved

@SudiptaPaul-31
Copy link
Collaborator

@Nexha-dev still conflicts is there

@Nexha-dev
Copy link
Contributor Author

@SudiptaPaul-31 conflicts resolved

@SudiptaPaul-31
Copy link
Collaborator

@Nexha-dev its still there

@Nexha-dev
Copy link
Contributor Author

@SudiptaPaul-31 What is your problem
Please merge now There is no conflicts

@SudiptaPaul-31 SudiptaPaul-31 merged commit 50962a2 into Lumina-eX:main Feb 28, 2026
1 check passed
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.

Add Rate Limiting

2 participants