Skip to content

Commit

Permalink
chore: refactor message sent check method
Browse files Browse the repository at this point in the history
  • Loading branch information
kaichaosun committed Aug 7, 2024
1 parent 4f1d692 commit 8ef3693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions waku/v2/api/publish/message_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ func (m *MessageSentCheck) SetStorePeerID(peerID peer.ID) {
m.storePeerID = peerID
}

// CheckIfMessagesStored checks if the tracked outgoing messages are stored periodically
func (m *MessageSentCheck) CheckIfMessagesStored() {
// Start checks if the tracked outgoing messages are stored periodically
func (m *MessageSentCheck) Start() {
ticker := time.NewTicker(m.hashQueryInterval)
defer ticker.Stop()
for {
Expand Down

0 comments on commit 8ef3693

Please sign in to comment.