Skip to content

Commit

Permalink
chore: Update cleanup interval to 5 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
tphakala committed May 27, 2024
1 parent 42a55ba commit 0f7852e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/analysis/realtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func ClipCleanupMonitor(wg *sync.WaitGroup, dataStore datastore.Interface, quitC
defer wg.Done() // Ensure that the WaitGroup is marked as done after the function exits

// Create a ticker that triggers every five minutes to perform cleanup
ticker := time.NewTicker(1 * time.Minute)
ticker := time.NewTicker(5 * time.Minute)
defer ticker.Stop() // Ensure the ticker is stopped to prevent leaks

for {
Expand Down

0 comments on commit 0f7852e

Please sign in to comment.