Skip to content

Commit

Permalink
Change timeout in config proxy file distribution server code
Browse files Browse the repository at this point in the history
Timeout in waitFor in FileAcquirerImpl is 60 seconds, need lower
timeout in config proxy to be able to respond before it times out.
  • Loading branch information
Harald Musum committed Aug 19, 2024
1 parent 6a8b134 commit afbe556
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ public void close() {
private FileDownloader createDownloader(Supervisor supervisor, ConfigSourceSet source) {
return new FileDownloader(new FileDistributionConnectionPool(source, supervisor),
supervisor,
Duration.ofMinutes(5));
Duration.ofSeconds(55)); // Should be lower than the timeout in FileAcquirer
}



}

0 comments on commit afbe556

Please sign in to comment.