File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
mcp/src/main/java/io/modelcontextprotocol/util Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ public void shutdown() {
141141 */
142142 public static class Builder {
143143
144- private Scheduler scheduler = Schedulers .single ();
144+ private Scheduler scheduler = Schedulers .boundedElastic ();
145145
146146 private Duration initialDelay = Duration .ofSeconds (0 );
147147
@@ -162,9 +162,9 @@ public static class Builder {
162162 * Sets the scheduler to use for executing keepAlive calls.
163163 * @param scheduler The scheduler to use:
164164 * <ul>
165- * <li>Schedulers.single() - single-threaded scheduler (Default) </li>
166- * <li>Schedulers.boundedElastic() - bounded elastic scheduler for I/O
167- * operations </li>
165+ * <li>Schedulers.single() - single-threaded scheduler</li>
166+ * <li>Schedulers.boundedElastic() - bounded elastic scheduler for I/O operations
167+ * (Default) </li>
168168 * <li>Schedulers.parallel() - parallel scheduler for CPU-intensive
169169 * operations</li>
170170 * <li>Schedulers.immediate() - immediate scheduler for synchronous execution</li>
You can’t perform that action at this time.
0 commit comments