1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-10 00:29:01 +02:00
Commit Graph

198 Commits

Author SHA1 Message Date
Tony
1bf8b97deb
Merge pull request #200 from DemonsLu/master
fix: 防止给v强转int时溢出,导致取余结果为负,从而获取到错误的index
2019-07-05 18:39:47 +08:00
开发者小蓝
c2ae503f41
Merge branch 'master' into patch-1 2019-07-05 18:39:35 +08:00
Tony
b73938c8de
Merge pull request #201 from captainblue2013/patch-1
fix: 获取hostname的优先级逻辑
2019-07-05 18:31:19 +08:00
开发者小蓝
42d8d07fe6
fix: 无地自容了 2019-07-05 18:26:17 +08:00
开发者小蓝
f0ee75eb37
fix: 编辑器出问题了 2019-07-05 18:22:37 +08:00
longXboy
823ca0f5dd add timeout call opt 2019-07-05 18:21:30 +08:00
开发者小蓝
a5cdf8ffc7
fix: bug 2019-07-05 18:16:08 +08:00
开发者小蓝
d5d510f7d6
feat: default host name 2019-07-05 18:13:04 +08:00
开发者小蓝
3233dc9fec
Merge pull request #2 from bilibili/master
fix: unit test
2019-07-05 17:54:56 +08:00
开发者小蓝
cb4008ee5e
Merge pull request #1 from bilibili/master
fix: unit test
2019-07-05 17:51:44 +08:00
Tony
ab4e2dafa9 fix sample result 2019-07-05 17:09:24 +08:00
Tony
72193e3ef5 fix unit test 2019-07-05 16:59:00 +08:00
开发者小蓝
a0828a265f
fix: 获取hostname的优先级逻辑 2019-07-05 16:18:57 +08:00
45943e788c fix: 获取hostname的优先级逻辑 2019-07-05 16:15:48 +08:00
demons
894682fcde fix: 防止给v强转int时溢出,导致取余结果为负,从而获取到错误的index 2019-07-05 11:48:34 +08:00
开发者小蓝
c9a539f10c
Merge branch 'master' into master 2019-07-04 19:10:06 +08:00
Tony
090d749dc4
Merge pull request #199 from bilibili/grpc/upgrade
Grpc/upgrade
2019-07-04 16:22:35 +08:00
longXboy
636160ed95 add keepalive for client 2019-07-04 16:14:27 +08:00
a40baeb8bc fix: method name 2019-07-04 14:13:48 +08:00
adde408382 feat: paladin support json & yaml 2019-07-04 11:26:46 +08:00
Tony
ea4794263b
Merge pull request #195 from gggwvg/fix-redis-option-order
fix redis option order
2019-07-03 18:20:22 +08:00
longXboy
7f56c6bed2 fix resolver subset bug 2019-07-03 16:59:37 +08:00
ericjwang
855cca78a5 fix redis option order 2019-07-03 00:06:20 +08:00
ericjwang
aeca8024f7 fix redis option order 2019-07-02 22:56:38 +08:00
程飞
63510f80e0 optimize bbr 2019-07-02 20:00:02 +08:00
wei cheng
2ff4674770
update memcache library
- support read timeout from context
- fix miss prometheus metrics on some method
2019-06-30 23:49:51 +08:00
Tony
5182ebf553
Merge pull request #161 from bilibili/update/warden
update warden from internal library
2019-06-27 14:32:37 +08:00
wei cheng
3335e551cf
remove register discovery resolver as default 2019-06-26 14:01:26 +08:00
wei cheng
cf8c793095
fix typo, remove discovery as default 2019-06-24 10:48:56 +08:00
Terry.Mao
6e4754cfb3
Merge pull request #167 from bilibili/library/bbr-prev-drop
make pre-drop thread-safe in bbr
2019-06-22 08:50:13 +08:00
longXboy
248f4258ef delete test 2019-06-21 10:26:57 +08:00
longXboy
b532e35653 add ps CPU 2019-06-21 10:20:36 +08:00
longXboy
eb0129cba4 fix cpu 2019-06-21 10:14:39 +08:00
longXboy
2470047483 fix test 2019-06-21 10:11:51 +08:00
longXboy
5f0e0dca3e fix 2019-06-20 17:00:12 +08:00
longXboy
15fb800ae8 fix test 2019-06-20 16:50:05 +08:00
程飞
19afdb78a5 make pre-drop thread-safe in bbr 2019-06-19 10:36:14 +08:00
longXboy
69282c4c87 fix cpu painc bug 2019-06-17 15:43:35 +08:00
wei cheng
64495e5362
update warden from internal library 2019-06-15 13:21:24 +08:00
kevin
b94e5ecd9f avoid ticker leak when cpustat.ReadStat(...) panic 2019-06-13 13:21:23 +08:00
wei cheng
c243e54e2b
update pkg/log from internal library 2019-06-09 20:57:28 +08:00
Tony
3f2c51b56e
Merge pull request #140 from bilibili/update/memcache
update memcache sdk
2019-06-06 18:06:56 +08:00
HashBaz
6f0353152f fix spelling error 2019-06-05 19:47:32 +08:00
wei cheng
6e12939c8f
update memcache sdk 2019-06-05 14:55:25 +08:00
Tony
7a95536b8a
Merge pull request #112 from realab/bm/criticality
criticality and client criticality with bm
2019-06-03 10:29:45 +08:00
longXboy
4a93aa9b8d add filter for p2c 2019-05-30 15:38:08 +08:00
Tony
3a2e8a7c00 fix fmt error 2019-05-25 15:40:37 +08:00
Tony
63028bf8aa valid discovery config 2019-05-25 15:35:57 +08:00
Felix Hao
d1193783bc
add warden resolver doc (#121) 2019-05-24 14:31:30 +08:00
longxboy
7df17c33ec
Merge pull request #109 from bilibili/warden/direct_dial
switch to direct resolver
2019-05-23 14:51:49 +08:00
longXboy
3c919192d7 add init direct 2019-05-23 14:02:27 +08:00
longXboy
40f5515e85 fix test 2019-05-23 10:49:30 +08:00
wei cheng
92ac678e8a
fix example 2019-05-21 13:53:21 +08:00
wei cheng
5d95b333f1
remove pb ecode 2019-05-21 13:37:00 +08:00
realityone
0edc2de268
unify metadata header key 2019-05-21 13:01:09 +08:00
程飞
b30df467a4 incr requests count in testBreaker 2019-05-21 11:05:48 +08:00
realityone
b59ec79e5c
criticality and client criticality with bm 2019-05-21 01:32:09 +08:00
longXboy
24a710968b switch to direct resolver 2019-05-20 22:27:14 +09:00
程飞
9acc8c5d86 add doc of the rate limiter middleware 2019-05-20 20:29:06 +08:00
程飞
b9580ace79 fix typo: maxQps -> maxInflight 2019-05-16 19:40:52 +08:00
程飞
b45e3390a6 convert package name to lowercase: Bilibili -> bilibili 2019-05-16 17:51:34 +08:00
程飞
9917255196 add warden rate limit middleware 2019-05-16 15:05:03 +08:00
程飞
b6a75550a7 add bm rate limit middleware 2019-05-16 15:04:43 +08:00
程飞
c6550d4439 add bbr-like rate limiter for load shedding 2019-05-16 15:04:00 +08:00
wei cheng
493ea92280
fix log incorrect source when use pattern render 2019-05-12 20:27:12 +08:00
Tony
84c8ac1088
Merge pull request #93 from bilibili/fix-paladin-filewatch
fix paladin filewatch
2019-05-11 11:35:26 +08:00
Tony
618427fe84 fix watch func 2019-05-09 23:06:15 +08:00
Tony
fa32988c6f add file watcher 2019-05-09 22:46:57 +08:00
Tony
0968936285 fix paladin filewatch 2019-05-08 23:24:56 +08:00
shaobo322
596e80c3f3 fix bug field type spell (#87) 2019-05-08 19:51:57 +08:00
jiankuny
fcba425d39
add pipeline (#74) 2019-05-08 10:55:32 +08:00
felixhao
492b682fe2 add warden start log 2019-05-07 17:48:48 +08:00
Felix Hao
2f4e80261b
fix block in warden client init register discovery (#79)
* fix block in warden client init register discovery
* rm empty tab
2019-05-07 17:40:01 +08:00
leslie
73325d2ce2 Merge remote-tracking branch 'origin/master' into common/metadata_range 2019-05-06 21:19:31 +08:00
Tony
6092ef596c fix unit test (#76)
* fix kratos template
* fix unit test
* fix discovery log & builder
* fix travis env
* fix tool doc
* fix paladin ut
* fix naming context
2019-05-06 21:00:01 +08:00
leslie
43c63d03cd fix warden client metadta range 2019-05-06 18:36:51 +08:00
leslie
5df7bfc200 metadata range func 2019-05-06 18:32:01 +08:00
felixhao
c9b3f5ece0 1. README kratos new
2. xstr rename to str
2019-04-28 09:42:28 +08:00
Felix Hao
bd2d576848
panic when have not -conf (#40) 2019-04-25 14:13:54 +08:00
Felix Hao
d23ca7df4f
fix http response XSS (#26) 2019-04-24 09:38:57 +08:00
felixhao
0c58cd9c5a add doc with blademaster 2019-04-16 16:50:34 +08:00
felixhao
2739a26481 add wiki 2019-04-12 21:07:26 +08:00
longxboy
637a6a3628 add warden rpc (#9)
* add warden rpc
2019-04-12 17:32:10 +08:00
felixhao
50d0129461 fix log field 2019-04-11 19:55:27 +08:00
felixhao
82f27d7c15 fix log appid 2019-04-11 17:30:53 +08:00
felixhao
dbdfe47e5b Merge remote-tracking branch 'origin/master' 2019-04-11 17:07:06 +08:00
felixhao
5d08a06525 rename Kratos to kratos 2019-04-11 15:15:11 +08:00
realityone
96d32e866a blademaster initial (#6) 2019-04-11 15:07:22 +08:00
Sam
1efe0a084e add database pkg (#8)
* add database pkg
2019-04-10 19:57:15 +08:00
Sam
7c6e0ea7ba add cache (#7) 2019-04-10 19:56:27 +08:00
Felix Hao
038b0ebb27
add conf paladin (#5) 2019-04-04 15:55:54 +08:00
felixhao
1f5de249ff add conf paladin 2019-04-04 15:44:15 +08:00
Felix Hao
d0b98db00c
fix log field (#3) 2019-04-02 16:58:20 +08:00
felixhao
f98cd0a5c0 add log 2019-03-06 19:11:45 +08:00
lintanghui
471a525b59 del sign 2019-02-04 11:16:27 +08:00
lintanghui
fb04565dca update gomod and readme 2019-02-01 18:13:47 +08:00
lintanghui
7d6f233259 naming discovery sdk and it's dependency 2019-02-01 18:06:04 +08:00
felixhao
76da31effb add kratos pkg 2019-02-01 15:57:43 +08:00