Skip to content

Commit

Permalink
refactor: change ct log update interval to once per hour
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed Aug 8, 2024
1 parent 57161c7 commit 9b6e77d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/certificatetransparency/ct-watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ func (w *Watcher) watchNewLogs() {
// Add all available logs to the watcher
w.addNewlyAvailableLogs()

// Check for new logs every 6 hours
ticker := time.NewTicker(6 * time.Hour)
// Check for new logs once every hour
ticker := time.NewTicker(1 * time.Hour)
for {
select {
case <-ticker.C:
Expand Down

0 comments on commit 9b6e77d

Please sign in to comment.