diff --git a/.changeset/angry-fans-search.md b/.changeset/angry-fans-search.md new file mode 100644 index 0000000000..ca24551f76 --- /dev/null +++ b/.changeset/angry-fans-search.md @@ -0,0 +1,5 @@ +--- +"@farcaster/hubble": patch +--- + +chore: adjust announcement interval for contact info diff --git a/apps/hubble/src/hubble.ts b/apps/hubble/src/hubble.ts index f12f4046d2..77dda369fc 100644 --- a/apps/hubble/src/hubble.ts +++ b/apps/hubble/src/hubble.ts @@ -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}-59/15 * * * *`); // Weird syntax but required by cron, random minute every 15 minutes this.checkIncomingPortsJobScheduler.start(); this.measureSyncHealthJobScheduler.start();