Make EventBus Timeout Configurable#33
Merged
sbesson merged 1 commit intoglencoesoftware:masterfrom Mar 5, 2026
Merged
Conversation
sbesson
approved these changes
Mar 5, 2026
Member
sbesson
left a comment
There was a problem hiding this comment.
Similarly to glencoesoftware/omero-ms-thumbnail#39 (review), used a synthetic file introducing a 5s delay when fetching a plane/tile.
When the micro-service is configured with a timeout of 5000 or lower, requests to the tile/ endpoint with this image fail with a io.vertx.core.eventbus.ReplyException: Timed out after waiting 5000(ms) for a reply as expection. Increasing the timeout via configuration file is sufficient to address the timeout issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #32
See glencoesoftware/omero-ms-image-region#160
This PR is mostly for consistency with omero-ms-image-region in allowing the configuration of the EventBus send timeout in the
config.ymlfile.Testing
Import a test image like
'test&sizeX=2304&sizeY=2304&sizeZ=12&sizeC=3&pixelType=uint16&sleepOpenBytes=1000.fake'. Note the image ID. Set the timeout to be less than 1000 ms and callYou should induce the timeout.
Increase the timeout in the config to be > 1000 ms and the request should succeed.