Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
add cache mode options #24
@Admin9705 There may be 1 slight breaking change here and that's due to me moving the size prefixes from being hardcoded in the service files, to be a sizeSuffix var in the mountNumbers.
This means that the var value of 128 will now be stored as "128M", before it was stored as "128". This change is needed for the "off" value, b/c prior to this change off would have been "offM", which won't work.
So if existing vars are not updated to have the size-suffix stored, if a user redeploys without resetting the vars, rclone will default to K without the size specified.
I'm thinking a few if statements to check for M, G, or H in the var file and if it's not there append it, that should do it. So I made a migration check in the variables.sh file. This should detect old values and reset them.
This PR is g2g.