Skip to content

Commit 8a07c1a

Browse files
authored
应该是“TransmittableThreadLocal”的项目地址
1 parent 14dd736 commit 8a07c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/concurrent/java-thread-pool-best-practices.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,5 +261,5 @@ server.tomcat.max-threads=1
261261

262262
解决上述问题比较建议的办法是使用阿里巴巴开源的 `TransmittableThreadLocal`(`TTL`)。`TransmittableThreadLocal`类继承并加强了 JDK 内置的`InheritableThreadLocal`类,在使用线程池等会池化复用线程的执行组件情况下,提供`ThreadLocal`值的传递功能,解决异步执行时上下文传递的问题。
263263

264-
`InheritableThreadLocal` 项目地址: https://github.com/alibaba/transmittable-thread-local 。
264+
`TransmittableThreadLocal` 项目地址: https://github.com/alibaba/transmittable-thread-local 。
265265

0 commit comments

Comments
 (0)