Change cookie file locking to no longer use file based locking and use juju/mutex instead. Also increase timeout and remove the exponential back-off when acquiring the lock.
This addresses Juju bug #1632362.
This change doesn't affect the API or the semantics and the cookie file locking is already tested with a concurrent access test, so there are no new tests.
Change cookie file locking to no longer use file based locking and use juju/mutex instead. Also increase timeout and remove the exponential back-off when acquiring the lock.
This addresses Juju bug #1632362.
This change doesn't affect the API or the semantics and the cookie file locking is already tested with a concurrent access test, so there are no new tests.