Skip to content

Commit 4ec3da0

Browse files
committed
add const comments.
1 parent 2745aed commit 4ec3da0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hlsproxy/manager.go

+2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ import (
1717
// how often should be cache cleanup called
1818
const cacheCleanupPeriod = 4 * time.Second
1919

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

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

2426
type ManagerCtx struct {

0 commit comments

Comments
 (0)