Commit Graph

24 Commits

Author SHA1 Message Date
Kevin Wan
0dfaf135dd
feat: support breaker with sql statements (#3936) 2024-02-25 11:24:44 +08:00
Kevin Wan
25a807afb2
chore: add tests (#3921) 2024-02-20 10:11:43 +08:00
Kevin Wan
1303e0fe6f
feat: optimize circuit breaker algorithm (#3897) 2024-02-15 20:29:24 +08:00
Kevin Wan
42e0a6f90c
chore: refactor errors to use errors.Is (#3654) 2023-10-21 00:00:57 +08:00
Kevin Wan
944e76edb9
chore: refactor errors (#3651) 2023-10-20 14:58:38 +08:00
Kevin Wan
11a8cbc1e5
chore: rename noOpBreaker to nopBreaker (#3602) 2023-10-06 23:41:09 +08:00
Kevin Wan
fdc57d07d7
fix: #2672 (#2681)
* fix: #2672

* chore: fix more cases

* chore: update deps

* chore: update deps

* chore: refactor

* chore: refactor

* chore: refactor
2022-12-11 00:41:50 +08:00
Kevin Wan
bab72b7630
chore: use time.Now() instead of timex.Time() because go optimized it (#1860) 2022-05-03 19:51:47 +08:00
Kevin Wan
3279a7ef0f
feat: add rest/httpc to make http requests governacible (#1638)
* feat: change x-trace-id to traceparent to follow opentelemetry

* feat: add rest/httpc to make http requests governacible

* chore: remove blank lines
2022-03-13 14:11:14 +08:00
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 2022-01-04 15:51:32 +08:00
Bo-Yi Wu
73906f996d
chore(format): change by gofumpt tool (#697)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-05-18 14:43:09 +08:00
Bo-Yi Wu
afd9ff889e
chore: update code format. (#628) 2021-04-15 19:49:17 +08:00
Kevin Wan
8ebf6750b9
fix golint issues in core/breaker (#466) 2021-02-17 10:45:55 +08:00
Kevin Wan
5e969cbef0
fix golint issues, else blocks (#457) 2021-02-09 13:50:21 +08:00
kevin
81bf122fa4 update breaker doc 2020-10-17 22:58:30 +08:00
firefantasy
a14bd309a9
to correct breaker interface annotation (#136) 2020-10-17 22:55:36 +08:00
kevin
fe3739b7f3 fix golint issues 2020-10-16 11:13:55 +08:00
刘青
e66cca3710
breaker: remover useless code (#114) 2020-10-04 16:25:26 +08:00
kevin
481895d1e4 add more tests 2020-09-30 17:47:56 +08:00
shenbaise9527
9e9ce3bf48
GetBreaker need double-check (#112) 2020-09-30 16:50:02 +08:00
kevin
f994e1df1a add more tests 2020-09-16 20:03:30 +08:00
kevin
9e14820698 fix golint warnings 2020-08-19 16:00:55 +08:00
kevin
0a7e0cce77 update package reference 2020-08-08 16:40:10 +08:00
kevin
7e3a369a8f initial import 2020-07-26 17:09:05 +08:00