Nonblocking disabled
This commit is contained in:
@@ -121,7 +121,7 @@ func (t *TorrentManager) refreshTorrents() []string {
|
||||
|
||||
// startRefreshJob periodically refreshes the torrents
|
||||
func (t *TorrentManager) startRefreshJob() {
|
||||
_ = t.workerPool.Submit(func() {
|
||||
_ = t.refreshPool.Submit(func() {
|
||||
t.log.Info("Starting periodic refresh job")
|
||||
for {
|
||||
<-time.After(time.Duration(t.Config.GetRefreshEverySecs()) * time.Second)
|
||||
|
||||
Reference in New Issue
Block a user