pjfanning opened a new pull request, #908: URL: https://github.com/apache/pekko-management/pull/908
1. Finite timeout — Replaced Duration.Inf with 15.seconds (line 59). The ensureSelfContactPoint timer in ClusterBootstrap fails the promise after 10s, so 15s gives safe headroom. 2. Result caching — Added @volatile private var cachedSelfContactPoint (line 53). After the first successful Await.result, the result is cached and all subsequent calls return immediately without blocking. 3. Double-call bug — canJoinSelf line 69 was calling selfContactPoint again instead of reusing the self variable already resolved at line 68. Fixed to use contactPointString(self) (line 75). -- 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]
