mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-07 05:46:38 +08:00
Fix cloud playback and organize ingest pipeline
This commit is contained in:
@@ -494,10 +494,8 @@ func cloudResolveHotRefreshWindow(ttl time.Duration) time.Duration {
|
||||
|
||||
func cloudResolveCacheTTL(typ string) time.Duration {
|
||||
switch typ {
|
||||
case cloud.TypeQuark, cloud.Type115:
|
||||
case cloud.TypeQuark, cloud.Type115, cloud.TypeCloudDrive2, cloud.TypeOpenList:
|
||||
return 2 * time.Minute
|
||||
case cloud.TypeCloudDrive2, cloud.TypeOpenList:
|
||||
return 15 * time.Minute
|
||||
default:
|
||||
return 5 * time.Minute
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user