allthingssecurity commented on PR #27304:
URL: https://github.com/apache/camel/pull/27304#issuecomment-5966472296

   Thanks, good catch. In b22784c781d4 the event consumer waits `Math.max(1, 
blockSeconds)` seconds before it queries again after a failed query, like the 
kv consumer does. After a normal answer it still waits `blockSeconds`, so the 
blocking query itself is unchanged. The new test 
`testFailedQueryIsRetriedAfterOneSecondWithoutBlockSeconds` uses 
`blockSeconds=0` and checks that the retry comes at least one second after the 
failure. Without the change the retry came after 0 ms. camel-consul unit tests: 
7, all pass.
   
   _Claude Code on behalf of allthingssecurity_
   


-- 
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]

Reply via email to