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() {
141
141
*/
142
142
public static class Builder {
143
143
144
- private Scheduler scheduler = Schedulers .single ();
144
+ private Scheduler scheduler = Schedulers .boundedElastic ();
145
145
146
146
private Duration initialDelay = Duration .ofSeconds (0 );
147
147
@@ -162,9 +162,9 @@ public static class Builder {
162
162
* Sets the scheduler to use for executing keepAlive calls.
163
163
* @param scheduler The scheduler to use:
164
164
* <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>
168
168
* <li>Schedulers.parallel() - parallel scheduler for CPU-intensive
169
169
* operations</li>
170
170
* <li>Schedulers.immediate() - immediate scheduler for synchronous execution</li>
You can’t perform that action at this time.
0 commit comments