Commit Graph

37 Commits (453fa309b1ae0f62308b08d9751c93128c4f2abb)

Author SHA1 Message Date
Kevin Wan 5d4e7c84ee
revert postgres package refactor (#1796)
* Revert "refactor: move postgres to pg package (#1781)"

This reverts commit ba8ac974aa.

* remove pg, use postgres
3 years ago
Kevin Wan ba8ac974aa
refactor: move postgres to pg package (#1781) 3 years ago
Kevin Wan 8bc34defc4
chore: avoid deadlock after stopping TimingWheel (#1768) 3 years ago
Kevin Wan 4e48286838
chore: add doc (#1764) 3 years ago
Kevin Wan 8472415472
fix #1754 (#1757) 3 years ago
ccx 86d01e2e99
test: add testcase for FIFO Queue in collection module (#1589)
cover the case of non-zero value for q.Header when q.Elements expands
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
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