mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-06-15 09:57:27 +00:00
docs: update parser and custom script docs
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
this.temporaryExecutor = WebClientVertxInit.get().createSharedWorkerExecutor(
|
||||
"playground-temp-" + System.currentTimeMillis(),
|
||||
1, // 每个请求只需要1个线程
|
||||
10000000000L // 设置非常长的超时,避免被vertx强制中断
|
||||
10000000000L // 设置非常长的超时,避免触发Vert.x阻塞线程告警
|
||||
);
|
||||
|
||||
// 执行完成或超时后关闭
|
||||
|
||||
@@ -106,7 +106,7 @@ executionFuture.toCompletionStage()
|
||||
### 长期方案(需大量工作)
|
||||
1. **迁移到GraalVM JavaScript引擎**
|
||||
- 支持CPU时间限制
|
||||
- 可以强制中断
|
||||
- 相比Nashorn更容易实现受控取消
|
||||
- 更好的性能
|
||||
- 但需要额外依赖
|
||||
|
||||
|
||||
Reference in New Issue
Block a user