饶钱树
Results
1
issues of
饶钱树
## 背景 使用SpringMVC进行Sentinel限流,配置了System的Thread最大数限流规则。 当使用SpringMVC `@Callable` 异步模式后,SystemRule的当前线程数会不停的放大,一直递增不扣减,请求次数超过最大线程数就会出现BlockingException,后面所有请求都会是这个错,无法恢复。 业务代码: ``` @ResponseBody @GetMapping("/async") public Callable async() throws Exception { Callable callable = () -> { TimeUnit.MILLISECONDS.sleep(50); // return "hello world"; }; return callable;...
good first issue
area/integrations