revert sync

This commit is contained in:
YouROK
2020-12-30 10:18:48 +03:00
parent ac4efa8a86
commit 697a20cc71
6 changed files with 6 additions and 6 deletions

View File

@@ -2,8 +2,8 @@ package settings
import (
"encoding/json"
sync "github.com/sasha-s/go-deadlock"
"sort"
"sync"
"github.com/anacrolix/torrent"
"github.com/anacrolix/torrent/metainfo"

View File

@@ -2,7 +2,7 @@ package torrstor
import (
"fmt"
sync "github.com/sasha-s/go-deadlock"
"sync"
)
type buffer struct {

View File

@@ -1,8 +1,8 @@
package torrstor
import (
sync "github.com/sasha-s/go-deadlock"
"sort"
"sync"
"github.com/anacrolix/torrent"
"server/log"

View File

@@ -2,8 +2,8 @@ package torrstor
import (
"errors"
sync "github.com/sasha-s/go-deadlock"
"io"
"sync"
"time"
"github.com/anacrolix/torrent/storage"

View File

@@ -1,7 +1,7 @@
package torrstor
import (
sync "github.com/sasha-s/go-deadlock"
"sync"
"server/torr/storage"

View File

@@ -1,7 +1,7 @@
package utils
import (
sync "github.com/sasha-s/go-deadlock"
"sync"
)
func ParallelFor(begin, end int, fn func(i int)) {