From 9c1642b28f108b181a9171dbf4d7171c31024bb4 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Tue, 19 Apr 2016 10:20:26 +0200 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-sleuth.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-sleuth.html b/spring-cloud-sleuth.html index a0ba665cb..a5977cb86 100644 --- a/spring-cloud-sleuth.html +++ b/spring-cloud-sleuth.html @@ -1701,7 +1701,7 @@ are creating Spans each time a new task is submitted, invoked or scheduled.

CompletableFuture<Long> completableFuture = CompletableFuture.supplyAsync(() -> {
 	// perform some logic
 	return 1_000_000L;
-}, new TraceableExecutorService(Executors.newCachedThreadPool(),
+}, new TraceableExecutorService(executorService,
 		// 'calculateTax' explicitly names the span - this param is optional
 		tracer, traceKeys, spanNamer, "calculateTax"));
@@ -1727,7 +1727,7 @@ To disable Zuul support set the spring.sleuth.zuul.enabled property