fallintoplace opened a new pull request, #3097: URL: https://github.com/apache/pekko/pull/3097
## Summary `ThrottlerHandle` used to consume token-bucket capacity before delegating to the wrapped transport handle. If the wrapped handle returned `false`, no write happened but the bucket stayed depleted. This restores or refunds the reserved token state when the wrapped write fails, while leaving the successful write and blackhole paths unchanged. ## Tests - `remote/testOnly org.apache.pekko.remote.transport.ThrottlerHandleSpec org.apache.pekko.remote.classic.transport.ThrottleModeSpec org.apache.pekko.remote.classic.transport.ThrottlerTransportAdapterSpec` - `remote/headerCheck` - `remote/scalafmtAll` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
