mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
code format
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ func (t *Torrent) Preload(index int, size int64) {
|
|||||||
|
|
||||||
// mb5 -> 8/16 MB
|
// mb5 -> 8/16 MB
|
||||||
mb5 := int64(t.Info().PieceLength)
|
mb5 := int64(t.Info().PieceLength)
|
||||||
if (mb5 < 8 * 1024 * 1024) {
|
if mb5 < 8*1024*1024 {
|
||||||
mb5 = 8 * 1024 * 1024
|
mb5 = 8 * 1024 * 1024
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user