TerminalWitchcraft / actix-ratelimit

Rate limiter framework for Actix web
MIT License
126 stars 25 forks source link

Dev #8

Closed tglman closed 3 years ago

tglman commented 3 years ago

Hi,

The problem with the lifetime of memcache was because the Client was not thread aware, so could not be cloned across thread, to avoid this problem I used r2d2-memcache that actually depend from it, and provide a pool that can be cloned and sent safely across thread, I hope this can help you to finish up your implementation and release the 3.0