| commit | c75386238cd1098eb45e9a7423095188d2e24899 | [log] [tgz] |
|---|---|---|
| author | Matt Farina <matt@mattfarina.com> | Mon May 23 09:28:57 2016 -0400 |
| committer | Matt Farina <matt@mattfarina.com> | Mon May 23 09:28:57 2016 -0400 |
| tree | 26d0f57b196f909e8e0f265c439ec1e0a84df907 | |
| parent | 86379c4c7609b2a9299944ca29d40e635c92eb3d [diff] |
Don't neet to wait 15 seconds before checking if lock has been removed.
diff --git a/cache/global_lock.go b/cache/global_lock.go index ad6eec5..52cf841 100644 --- a/cache/global_lock.go +++ b/cache/global_lock.go
@@ -106,6 +106,6 @@ // Check on the lock file every 15 seconds. // TODO(mattfarina): should this be a different length? - time.Sleep(15 * time.Second) + time.Sleep(time.Second) } }