Commit Graph

30 Commits (836726e710a0b1c74dc58250116b95e5d454e2b2)

Author SHA1 Message Date
Kevin Wan 5cc9eb0de4
rename sharedcalls to singleflight (#1017) 3 years ago
aaffo 598fda0c97
optimized (#819) 3 years ago
Bo-Yi Wu 73906f996d
chore(format): change by gofumpt tool (#697)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
4 years ago
Bo-Yi Wu afd9ff889e
chore: update code format. (#628) 4 years ago
Kevin Wan 457048bfac
fix golint issues in core/collection, refine cache interface (#475) 4 years ago
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
Kevin Wan b88ba14597
fixes issue #425 (#438) 4 years ago
理工男 7b3c3de35e
ring struct add lock (#434)
Co-authored-by: liuhuan210 <liuhuan210@jd.com>
4 years ago
Kevin Wan 57b73d8b49
make sure offset less than size even it's checked inside (#354) 4 years ago
Kevin Wan a79cee12ee
add godoc for RollingWindow (#351) 4 years ago
zjbztianya 7a921f66e6
simple rolling windows code (#346) 4 years ago
Kevin Wan 0786862a35
align bucket boundary to interval in rolling window (#345) 4 years ago
Kevin Wan 771371e051
simplify rolling window code, and make tests run faster (#343) 4 years ago
zjbztianya 2ee95f8981
fix rolling window bug (#340) 4 years ago
benying 7d1b43780a
some optimize by kevwan and benying (#240)
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
4 years ago
Kevin Wan 4b5c2de376
simplify code (#234)
* simplify code, format makefile

* simplify code
4 years ago
Kevin Wan e5c560e8ba
simplify code, format makefile (#233) 4 years ago
xuezonggui bed494d904
optimization (#221) 4 years ago
kevin 295c8d2934 fix issue #205 4 years ago
kevin fe3739b7f3 fix golint issues 4 years ago
kevin 94645481b1 fix golint issues 4 years ago
kevin 8291eabc2c assert len > 0 4 years ago
kevin c824e9e118 fail fast when rolling window size is zero 4 years ago
kevin 6749c5b94a add more tests 4 years ago
kevin a958400595 rename prommetric to prometheous, add unit tests 4 years ago
kevin ff112fdaee query from cache first when do cache.Take 4 years ago
kevin 5e7b514ae2 make tests parallel 4 years ago
kevin 9e14820698 fix golint warnings 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago