mirror of
https://github.com/rclone/rclone.git
synced 2025-08-13 23:38:51 +02:00
cache: reconnect plex websocket on failures
This commit is contained in:
4
backend/cache/handle.go
vendored
4
backend/cache/handle.go
vendored
@ -147,10 +147,8 @@ func (r *Handle) scaleWorkers(desired int) {
|
||||
|
||||
func (r *Handle) confirmExternalReading() {
|
||||
// if we have a max value of workers
|
||||
// or there's no external confirmation available
|
||||
// then we skip this step
|
||||
if len(r.workers) > 1 ||
|
||||
!r.cacheFs().plexConnector.isConnected() {
|
||||
if len(r.workers) > 1 {
|
||||
return
|
||||
}
|
||||
if !r.cacheFs().plexConnector.isPlaying(r.cachedObject) {
|
||||
|
Reference in New Issue
Block a user