cyhone

Results 6 comments of cyhone

@guodastanson 工作中很少用到mysql了。所以一直没有这方面的需求。 不过列在todo里的几个feature最近有时间会做下。 老哥对这个东西有什么建议吗?

This feature is more appropriate to implement in CacheStore. For local memory cache store, ttlcache support to extend the cache duration on cache hit. But the default constructor disable the...

> Agree above. The method `CachePage` is NOT safe in high-concurrency. It will cause wrong-repeating data in response. There is a simple code demo: > > ``` > r.GET("/data", cache.CachePage(redisCache,...

> > > Agree above. The method `CachePage` is NOT safe in high-concurrency. It will cause wrong-repeating data in response. There is a simple code demo: > > > ```...

I can't reproduce this issue in my environment, are you using the latest version of gin-cache?

我看代码设计,Accpetor所在的EventLoop是可以共享的,但是EventLoopThreadPool是不可以的. 这么设计的原因是什么呢?有没有考虑加入共享EventLoopThreadPool的功能?