DEV Community

Discussion on: Rate Limiting HTTP Requests in Go based on IP address

Collapse
 
ssttevee profile image
Steve Lam

Please add a warning that the IP map will leak memory and to implement some TTL to free it in production environments. There will definitely be some poor soul that will wrack their head over it.