rclone-dev:fix-4883-cache

Last commit made on 2021-02-05
Get this branch:
git clone -b fix-4883-cache https://git.launchpad.net/rclone-dev

Branch merges

Branch information

Name:
fix-4883-cache
Repository:
lp:rclone-dev

Recent commits

544757a... by Nick Craig-Wood

cache: set timeout to 24 hour - FIXME DO NOT MERGE

bfcf6ba... by Nick Craig-Wood

lib/cache: fix locking so we don't try to create the item many times

Before this fix, if several Get requests were submitted very quickly,
this could run the item create function multiple times due to the
unlock of the mutex in the creation code.

This fixes the problem by having a mutex in each cache entry which is
held when the item is being created.

b2b5b75... by Nick Craig-Wood

build: ensure go1.16 go gets the correct versions of tools

go1.16 uses GO111MODULE=on by default which meant we were picking up
v1 of nfpm instead of the intended v2.

5f943aa... by Nick Craig-Wood

build: Use GO386=softfloat instead of deprecated GO386=387 for 386 builds

84c785b... by Nick Craig-Wood

build: use go1.16-rc1 as default compiler

9931463... by Nick Craig-Wood

build: update all dependencies

bbe791a... by Nick Craig-Wood

swift: update github.com/ncw/swift to v2.0.0

The update to v2 of the swift library introduces a context parameter
to each function. This required a lot of mostly mechanical changes
adding context parameters.

See: https://github.com/ncw/swift/issues/159
See: https://github.com/ncw/swift/issues/161

1545ace... by Nick Craig-Wood

build: remove go1.13 build constraints

bcac8fd... by Nick Craig-Wood

Use http.NewRequestWithContext where possible after go1.13 minimum version

15e1a6b... by Nick Craig-Wood

build: raise minimum go version to go1.13