mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
revert sync
This commit is contained in:
@@ -2,8 +2,8 @@ package settings
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
sync "github.com/sasha-s/go-deadlock"
|
|
||||||
"sort"
|
"sort"
|
||||||
|
"sync"
|
||||||
|
|
||||||
"github.com/anacrolix/torrent"
|
"github.com/anacrolix/torrent"
|
||||||
"github.com/anacrolix/torrent/metainfo"
|
"github.com/anacrolix/torrent/metainfo"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package torrstor
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
sync "github.com/sasha-s/go-deadlock"
|
"sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
type buffer struct {
|
type buffer struct {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
package torrstor
|
package torrstor
|
||||||
|
|
||||||
import (
|
import (
|
||||||
sync "github.com/sasha-s/go-deadlock"
|
|
||||||
"sort"
|
"sort"
|
||||||
|
"sync"
|
||||||
|
|
||||||
"github.com/anacrolix/torrent"
|
"github.com/anacrolix/torrent"
|
||||||
"server/log"
|
"server/log"
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ package torrstor
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
sync "github.com/sasha-s/go-deadlock"
|
|
||||||
"io"
|
"io"
|
||||||
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/anacrolix/torrent/storage"
|
"github.com/anacrolix/torrent/storage"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package torrstor
|
package torrstor
|
||||||
|
|
||||||
import (
|
import (
|
||||||
sync "github.com/sasha-s/go-deadlock"
|
"sync"
|
||||||
|
|
||||||
"server/torr/storage"
|
"server/torr/storage"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package utils
|
package utils
|
||||||
|
|
||||||
import (
|
import (
|
||||||
sync "github.com/sasha-s/go-deadlock"
|
"sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ParallelFor(begin, end int, fn func(i int)) {
|
func ParallelFor(begin, end int, fn func(i int)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user