Skip to content

Commit

Permalink
chore: update the waiting time for publishing post
Browse files Browse the repository at this point in the history
  • Loading branch information
guqing committed Nov 1, 2023
1 parent b9c0a1f commit f93c0e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ private Mono<Post> awaitPostPublished(String postName) {
})
.switchIfEmpty(Mono.error(
() -> new RetryException("Retry to check post publish status"))))
.retryWhen(Retry.fixedDelay(10, Duration.ofMillis(200))
.retryWhen(Retry.backoff(10, Duration.ofMillis(100))
.filter(t -> t instanceof RetryException));
}

Expand Down

0 comments on commit f93c0e2

Please sign in to comment.