Skip to content

Commit 236bfb2

Browse files
authored
Query blockchain adapter every 2s instead of every second (#706)
1 parent a4cea9b commit 236bfb2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ All notable changes to this project will be documented in this file.
2121
- Always use `WorkerpoolAuthorization` to retrieve JWT and check result upload on Result Proxy. (#690)
2222
- Use correct `Signature` import in `SchedulerClient`. (#697)
2323
- Do not supply replicates past their contribution deadline to workers. (#702)
24+
- Query blockchain adapter every 2s instead of every second. (#706)
2425

2526
### Quality
2627

src/main/java/com/iexec/core/chain/adapter/BlockchainAdapterClientConfig.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@
3333
@ConfigurationProperties(prefix = "blockchain-adapter")
3434
public class BlockchainAdapterClientConfig {
3535

36-
public static final int WATCH_PERIOD_SECONDS = 1;//To tune
37-
public static final int MAX_ATTEMPTS = 50;
36+
// TODO add configuration parameters for next major version
37+
public static final int WATCH_PERIOD_SECONDS = 2;
38+
public static final int MAX_ATTEMPTS = 25;
3839

3940
private final String protocol;
4041
private final String host;

0 commit comments

Comments
 (0)