Skip to content

Commit

Permalink
Merge branch 'master' into windows_support
Browse files Browse the repository at this point in the history
  • Loading branch information
darshankabariya authored Oct 22, 2024
2 parents 9c37730 + 3dc3fc8 commit 6f24838
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/prepare_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ All items below are to be completed by the owner of the given release.
- [ ] **Post release**
- [ ] Submit a PR from the release branch to master. Important to commit the PR with "create a merge commit" option.
- [ ] Update waku-org/nwaku-compose with the new release version.
- [ ] Update version in js-waku repo. [update only this](https://github.com/waku-org/js-waku/blob/7c0ce7b2eca31cab837da0251e1e4255151be2f7/.github/workflows/ci.yml#L135) by submitting a PR.
2 changes: 1 addition & 1 deletion waku/node/peer_manager/peer_manager.nim
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ proc relayConnectivityLoop*(pm: PeerManager) {.async.} =
chronos.seconds(int(float(ConnectivityLoopInterval.seconds()) * factor))

# Shorten the connectivity loop interval dynamically based on percentage of peers to fill or connections to prune
await sleepAsync(dynamicSleepInterval)
await sleepAsync(max(dynamicSleepInterval, chronos.seconds(1)))

proc pruneInRelayConns(pm: PeerManager, amount: int) {.async.} =
if amount <= 0:
Expand Down

0 comments on commit 6f24838

Please sign in to comment.