diff --git a/manager/transfer.go b/manager/transfer.go index 4230f8e..720eb2d 100644 --- a/manager/transfer.go +++ b/manager/transfer.go @@ -95,8 +95,8 @@ func abandonSupports(s *Sync) (float64, error) { }() consumerWG := &stop.Group{} //TODO: remove this once the SDK team fixes their RPC bugs.... - s.daemon.SetRPCTimeout(30 * time.Second) - defer s.daemon.SetRPCTimeout(20 * time.Minute) + s.daemon.SetRPCTimeout(60 * time.Second) + defer s.daemon.SetRPCTimeout(5 * time.Minute) for i := 0; i < s.ConcurrentVideos; i++ { consumerWG.Add(1) go func() { diff --git a/manager/ytsync.go b/manager/ytsync.go index c2d630f..d08d40f 100644 --- a/manager/ytsync.go +++ b/manager/ytsync.go @@ -307,7 +307,7 @@ func (s *Sync) FullCycle() (e error) { log.Infoln("Waiting for daemon to finish starting...") s.daemon = jsonrpc.NewClient(os.Getenv("LBRYNET_ADDRESS")) - s.daemon.SetRPCTimeout(20 * time.Minute) + s.daemon.SetRPCTimeout(5 * time.Minute) err = s.waitForDaemonStart() if err != nil {