Skip to content

Commit d763dee

Browse files
committed
docs: fix typo, fix doocs#17
1 parent 8b6aaa4 commit d763dee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/high-availability/hystrix-request-cache.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class EshopApplication {
7272
```
7373

7474
### command 重写 getCacheKey() 方法
75-
在 GetProductInfoCommand 中,重写 getCacheKey() 方法,这样的话,每一次请求的结果,都会放在 Hystrix 请求上下文中。下一个同一个 productId 的数据请求,直接取缓存,无须再调用 run() 方法。
75+
在 GetProductInfoCommand 中,重写 getCacheKey() 方法,这样的话,每一次请求的结果,都会放在 Hystrix 请求上下文中。下一次同一个 productId 的数据请求,直接取缓存,无须再调用 run() 方法。
7676

7777
```java
7878
public class GetProductInfoCommand extends HystrixCommand<ProductInfo> {

0 commit comments

Comments
 (0)