apache / apache/servicecomb-java-chassis

vertx的线程池设置的maxExecuteTime不生效

Open
#3,391 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
814
Avg merge
8d 23h
Merged PRs (30d)
1

Description

问题描述:
1、用createSharedWorkerExecutor(String name, int poolSize, long maxExecuteTime) 获得的WorkerExecutor,设置了100ms的最大执行时间
2、但是在线程执行executeBlocking的worker,超时18分钟后,还会去回调主线程进行处理。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with createSharedWorkerExecutor(String name, int poolSize, long maxExecuteTime) and the executeBlocking worker path described in the report. Reproduce the 100ms configuration and compare it with the observed 18-minute delay before the main-thread callback. Done means the configured maximum execution time is respected and the callback behavior matches the intended timeout handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.