RC --rc-job-expire-interval bug

What is the problem you are having with rclone?

On using rcd --rc-job-expire-interval 1s still checks for expired jobs every 10 sec.

What is your rclone version (output from rclone version)

rclone v1.48.0-132-gd0c65b4c-beta

  • os/arch: linux/amd64
  • go version: go1.12.7

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Cent OS 7, 64 bit

Which cloud storage system are you using? (eg Google Drive)

FileSystem

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone rcd --log-file=rcd_log.txt --rc-job-expire-duration=0 --rc-job-expire-interval=1ms --rc-addr=0.0.0.0:5572 --retries=1 --log-level=DEBUG --rc-user=z --rc-pass=z --rc-web-gui

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

user@pc:~/rclone$ for i in {1..6}; do rclone rc --rc-user z --rc-pass z job/list; sleep 2; done

{
        "jobids": [
                73
        ]
}
{
        "jobids": [
                74,
                73
        ]
}
{
        "jobids": [
                74,
                73,
                75
        ]
}
{
        "jobids": [
                73,
                75,
                74,
                76
        ]
}
{
        "jobids": [
                73,
                75,
                74,
                76,
                77
        ]
}
{
        "jobids": [
                78
        ]
}

The above command checks for jobs every 2 secs, jobs cleared after 10 secs

This will cause rclone to use the default value of 10s. What were you expecting it to do? Disable expiry, or expire immediately? Either way you could use a value of 1ms or 100h

Was trying to expire immediately.

I tried with 1ms,
still got the same issue:

Ok I figured out the problem eventually!

Try the latest beta (in about 30 mins from now when it has uploaded)

You want at least version; v1.48.0-154-g3ecbd603-beta

1 Like

Works Perfectly.

Thank you very much.
:blush:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.