Commit Graph

896 Commits

Author SHA1 Message Date
Kevin Wan
490559434a
chore: remove unnecessary return (#4226) 2024-07-02 23:45:18 +08:00
jiz4oh
424119d796
chore: fix the confused log level in comment (#4175) 2024-06-04 10:43:26 +00:00
Kevin Wan
962b36d745
fix: log concurrency problems after calling WithXXX methods (#4164) 2024-05-26 12:52:05 +08:00
Kevin Wan
e0c16059d9
optimize: simplify breaker algorithm (#4151) 2024-05-14 17:02:21 +08:00
Alex Last
a5ece25c07
feat: add secure option for sending traces via otlphttp (#3973) 2024-05-12 17:00:54 +00:00
Kevin Wan
0cac41a38b
chore: refactor mapping unmarshaler (#4145) 2024-05-12 14:37:36 +08:00
Kevin Wan
f10084a3f5
chore: refactor and coding style (#4144) 2024-05-11 23:06:59 +08:00
Leo
040fee5669
feat: httpx.Parse supports parsing structures that implement the Unmarshaler interface (#4143) 2024-05-11 22:25:10 +08:00
Kevin Wan
42b3bae65a
optimize: improve breaker algorithm on recovery time (#4141) 2024-05-11 21:44:26 +08:00
Kevin Wan
057bae92ab
fix: log panic on Error() or String() panics (#4136) 2024-05-10 12:49:34 +08:00
Kevin Wan
74331a45c9
fix: log panic when use nil error or stringer with Field method (#4130) 2024-05-10 00:31:36 +08:00
Kevin Wan
a8ccda0c06
feat: add fx.ParallelErr (#4107) 2024-04-29 00:18:30 +08:00
Kevin Wan
bfddb9dae4
feat: add errorx.In to facility error checking (#4105) 2024-04-27 20:43:45 +08:00
Kevin Wan
5e5123caa3
chore: add more tests (#4094) 2024-04-19 11:13:23 +08:00
Kevin Wan
d371ab5479
feat: use breaker with ctx to prevent deadline exceeded (#4091)
Signed-off-by: kevin <wanjunfeng@gmail.com>
2024-04-18 23:18:49 +08:00
Kevin Wan
1540bdc4c9
optimize: improve breaker algorithm on recovery time (#4077) 2024-04-18 22:33:25 +08:00
Kevin Wan
95b32b5779
chore: add code coverage (#4090) 2024-04-18 20:58:36 +08:00
Kevin Wan
815a4f7eed
feat: support context in breaker methods (#4088) 2024-04-18 18:00:17 +08:00
Kevin Wan
e9dc96af17
chore: coding style (#4082) 2024-04-17 23:37:35 +08:00
fearlessfei
62c88a84d1
feat: migrate lua script to lua file (#4069) 2024-04-17 15:20:10 +00:00
Kevin Wan
36088ea0d4
fix: avoid duplicate in logx plain mode (#4080) 2024-04-17 17:43:22 +08:00
Kevin Wan
927f8bc821
fix: fix ignored context.DeadlineExceeded (#4066) 2024-04-11 11:14:20 +08:00
Kevin Wan
682460c1c8
fix: fix ignored scanner.Err() (#4063) 2024-04-10 17:28:52 +08:00
Kevin Wan
a66ae0d4c4
fix: timeout on query should return context.DeadlineExceeded (#4060) 2024-04-10 04:17:39 +00:00
Kevin Wan
6c8073b691
chore: add more tests (#4042) 2024-04-05 00:13:42 +08:00
fearlessfei
968727412d
add custom health response information (#4034)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2024-04-03 14:33:55 +00:00
linden-in-China
6f3d094eba
opton to option (#4035) 2024-04-03 14:15:21 +00:00
Kevin Wan
bbce95e7e1
fix: didn't count failure in allow method with breaker algorithm (#4008) 2024-03-16 22:19:36 +08:00
Kevin Wan
cc2a7e97f9
chore: coding style, add code for prometheus (#4002) 2024-03-13 20:00:35 +08:00
MarkJoyMa
7d90f906f5
feat: migrate redis breaker into hook (#3982) 2024-03-12 04:21:33 +00:00
Viktor Patchev
f372b98d96
Add: Optimize the error log to be more specific (#3994) 2024-03-11 13:06:50 +08:00
mongobaba
459d3025c5
optimize: change err == xx to errors.Is(err, xx) (#3991) 2024-03-09 12:49:16 +00:00
Kevin Wan
159ecb7386
chore: fix warnings (#3989) 2024-03-08 22:35:17 +08:00
ansoda
69bb746a1d
fix: StopAgent panics when trace agent disabled (#3981)
Co-authored-by: ansoda <ansoda@gmail.com>
2024-03-08 10:28:23 +00:00
Kevin Wan
d184f96b13
chore: coding style (#3987) 2024-03-08 16:11:28 +08:00
MarkJoyMa
c7dacb0146
fix: mysql WithAcceptable bug (#3986) 2024-03-08 04:23:41 +00:00
Kevin Wan
74b87ac9fd
chore: coding style (#3972) 2024-03-05 14:40:10 +08:00
Kevin Wan
25821bdee6
chore: coding style (#3960) 2024-03-03 00:17:38 +08:00
POABOB
be7f93924a
feature: add a mongo registry option to convert type easier. (#3780)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2024-03-02 15:13:44 +00:00
Kevin Wan
45be48a4ee
chore: coding style (#3959) 2024-03-02 22:45:24 +08:00
Kevin Wan
a5d2b971a1
chore: add more tests (#3958) 2024-03-02 21:58:13 +08:00
Qiu shao
9763c8b143
feat:add redis mset func (#3820) 2024-03-02 12:00:25 +00:00
Kevin Wan
4e3f1776dc
chore: coding style (#3957) 2024-03-02 19:09:14 +08:00
fearlessfei
e38036cea2
feat: retry ignore specified errors (#3808) 2024-03-02 18:53:20 +08:00
Kevin Wan
8e97c5819f
chore: add more tests (#3954) 2024-03-02 12:22:55 +08:00
#Suyghur
0ee44c7064
feat(redis): added and impl ZADDNX command (#3944) 2024-03-02 10:15:10 +08:00
Kevin Wan
a1bacd3fc8
feat: a concurrent runner with messages taken in pushing order (#3941) 2024-03-02 10:03:58 +08:00
Kevin Wan
c98d5fdaf4
chore: simplify linux nocgroup logic (#3953) 2024-03-02 07:13:41 +08:00
Kevin Wan
03b6e377d7
chore: add lock for batcherror (#3950) 2024-03-02 00:59:15 +08:00
chentong
ec41880476
fix: BatchError.Add() non thread safe (#3946) 2024-03-01 16:32:39 +00:00