Skip to content

Commit

Permalink
add const comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k1o committed Oct 18, 2021
1 parent 2745aed commit 4ec3da0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hlsproxy/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ import (
// how often should be cache cleanup called
const cacheCleanupPeriod = 4 * time.Second

// how long should be segment kept in memory
const segmentExpiration = 60 * time.Second

// how long should be playlist kept in memory
const playlistExpiration = 1 * time.Second

type ManagerCtx struct {
Expand Down

0 comments on commit 4ec3da0

Please sign in to comment.