aboutsummaryrefslogtreecommitdiff
path: root/src/block.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-17 21:08:43 +0200
committerAlex Auvolat <alex@adnab.me>2020-04-17 21:08:43 +0200
commitace07da7c17d4eeec8b29b9eea2ae84c0d76088c (patch)
treef21e5213eeab8fafd1ebaf2b107d78384aefd79d /src/block.rs
parent40c48e6a590c887586664957da2dca0f368cdcb2 (diff)
downloadgarage-ace07da7c17d4eeec8b29b9eea2ae84c0d76088c.tar.gz
garage-ace07da7c17d4eeec8b29b9eea2ae84c0d76088c.zip
Fix walk_ring_from
Diffstat (limited to 'src/block.rs')
-rw-r--r--src/block.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block.rs b/src/block.rs
index 200b4201..a0701b97 100644
--- a/src/block.rs
+++ b/src/block.rs
@@ -86,7 +86,7 @@ impl BlockManager {
Ok(f) => f,
Err(e) => {
// Not found but maybe we should have had it ??
- self.put_to_resync(hash, DEFAULT_TIMEOUT.as_millis() as u64)?;
+ self.put_to_resync(hash, 0)?;
return Err(Into::into(e));
}
};