Skip to content

Commit

Permalink
chore: increase contact announcement interval
Browse files Browse the repository at this point in the history
  • Loading branch information
CassOnMars committed Sep 6, 2024
1 parent 0b96a60 commit c8e3c78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-fans-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@farcaster/hubble": patch
---

chore: adjust announcement interval for contact info
4 changes: 2 additions & 2 deletions apps/hubble/src/hubble.ts
Original file line number Diff line number Diff line change
Expand Up @@ -821,8 +821,8 @@ export class Hub implements HubInterface {
this.checkFarcasterVersionJobScheduler.start();
this.validateOrRevokeMessagesJobScheduler.start();

const randomMinute = Math.floor(Math.random() * 30);
this.gossipContactInfoJobScheduler.start(`${randomMinute} */30 * * * *`); // Random minute every 30 minutes
const randomMinute = Math.floor(Math.random() * 15);
this.gossipContactInfoJobScheduler.start(`${randomMinute}/15 * * * *`); // Random minute every 30 minutes
this.checkIncomingPortsJobScheduler.start();
this.measureSyncHealthJobScheduler.start();

Expand Down

0 comments on commit c8e3c78

Please sign in to comment.