mirror of
https://github.com/rclone/rclone.git
synced 2025-01-11 00:40:03 +01:00
cache: fix panic when running without plex configs
This commit is contained in:
parent
d18928962c
commit
4df1794932
3
backend/cache/handle.go
vendored
3
backend/cache/handle.go
vendored
@ -148,7 +148,8 @@ func (r *Handle) scaleWorkers(desired int) {
|
||||
func (r *Handle) confirmExternalReading() {
|
||||
// if we have a max value of workers
|
||||
// then we skip this step
|
||||
if len(r.workers) > 1 {
|
||||
if len(r.workers) > 1 ||
|
||||
!r.cacheFs().plexConnector.isConfigured() {
|
||||
return
|
||||
}
|
||||
if !r.cacheFs().plexConnector.isPlaying(r.cachedObject) {
|
||||
|
Loading…
Reference in New Issue
Block a user