Skip to content

Commit

Permalink
Remove unnecessary Thread.sleep(5000)
Browse files Browse the repository at this point in the history
  • Loading branch information
tillrohrmann committed Nov 15, 2024
1 parent c47cafd commit 3ab906c
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,6 @@ private constructor(
CompletableFuture.runAsync(
{
CloseableThreadContext.put("containerHostname", container.hostname).use {
if (container.hostname != RESTATE_RUNTIME) {
Thread.sleep(5000)
// Sleep first because of an internal init issue of the runtime
}
LOG.debug(
"Restate container '${container.hostname}' using image '${config.restateContainerImage}' is starting")
container.dependsOn(containerDependencies).start()
Expand Down

0 comments on commit 3ab906c

Please sign in to comment.