Skip to content

Commit 2dfcb19

Browse files
authored
Merge branch 'develop2' into develop3
2 parents 2ccba5a + af3b288 commit 2dfcb19

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.env.docker-compose-preprod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ POSTGRESQL_EXPORTER_PORT=9187
112112
PEER_DISCOVERY=true
113113

114114
## Token Registry
115-
# Externally hosted token registry is currently only available for mainnet
116115
TOKEN_REGISTRY_ENABLED=false
117116
TOKEN_REGISTRY_BASE_URL=
118117
TOKEN_REGISTRY_CACHE_TTL_HOURS=1

.github/workflows/pr-preprod-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515
jobs:
1616
test-on-preprod:
1717
runs-on: [self-hosted]
18-
timeout-minutes: 30
18+
timeout-minutes: 60
1919

2020
steps:
2121
- uses: actions/checkout@v4

yaci-indexer/src/main/java/org/cardanofoundation/rosetta/yaciindexer/job/PeerDiscoveryJob.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
import org.springframework.stereotype.Service;
1010

1111
import java.util.Optional;
12-
import java.util.concurrent.TimeUnit;
12+
13+
import static java.util.concurrent.TimeUnit.MINUTES;
1314

1415
@Service
1516
@Slf4j
@@ -26,7 +27,7 @@ public void init() {
2627
}
2728

2829
// Initial refresh after 1 minute, then every hour
29-
@Scheduled(initialDelay = 1, fixedDelay = 60, timeUnit = TimeUnit.MINUTES)
30+
@Scheduled(initialDelay = 5, fixedDelay = 60, timeUnit = MINUTES)
3031
public void refreshPeers() {
3132
log.info("Starting a periodic / scheduled peer discovery refresh...");
3233

0 commit comments

Comments
 (0)