markap14 commented on PR #11164: URL: https://github.com/apache/nifi/pull/11164#issuecomment-5639933977
[GPT-5.6 Sol] @joewitt follow-up on permit waiting: after reviewing the targeted wake-up approach, we chose to keep the simpler bounded wait and increased the interval from 25 milliseconds to 1 second in 947b12a4902. `tryAcquire` still returns immediately when a permit is released, so this does not delay normal permit handoff. It reduces timeout wakeups by 40× while bounding Stop detection at one second when no permit becomes available. All 27 `VirtualThreadSchedulingAgentTest` tests pass, including the fully contended unschedule case. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
