Skip to content

Commit

Permalink
it: tighten up polling intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
ibodrov committed Nov 14, 2024
1 parent b1b4ce1 commit 617c49e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,16 @@ public static ConcordRule configure() {
.streamAgentLogs(true)
.sharedContainerDir(sharedDir)
.useLocalMavenRepository(true)
.extraConfigurationSupplier(() -> "concord-agent { prefork { enabled = true } }");
.extraConfigurationSupplier(() -> """
concord-agent {
dependencyResolveTimeout = "5 seconds"
logMaxDelay = "250 milliseconds"
pollInterval = "250 milliseconds"
prefork {
enabled = true
}
}
""");

boolean localMode = Boolean.parseBoolean(System.getProperty("it.local.mode"));
if (localMode) {
Expand Down
4 changes: 4 additions & 0 deletions it/server/src/test/resources/agent.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
concord-agent {

dependencyResolveTimeout = "5 seconds"
logMaxDelay = "250 milliseconds"
pollInterval = "250 milliseconds"

prefork {
enabled = true
}
Expand Down

0 comments on commit 617c49e

Please sign in to comment.