change preload

This commit is contained in:
YouROK
2020-12-18 10:31:09 +03:00
parent 06e8cf833d
commit 8e97922613
4 changed files with 28 additions and 18 deletions

View File

@@ -92,7 +92,7 @@ func stream(c *gin.Context) {
}
// preload torrent
if preload {
tor.Preload(index, 0)
torr.Preload(tor, index)
}
// return stat if query
if stat {