diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-04 13:25:57 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-04 13:25:57 +0100 |
commit | 29dbcb82780dcdb6f2a01a9da5122e70abaf93bf (patch) | |
tree | 222ec61f03c5abcca6678239111e94ad4dcfeb67 /src/util/background/vars.rs | |
parent | f3f27293df83986ba29fb03f8af26a2177518e20 (diff) | |
download | garage-29dbcb82780dcdb6f2a01a9da5122e70abaf93bf.tar.gz garage-29dbcb82780dcdb6f2a01a9da5122e70abaf93bf.zip |
bg var operation on all nodes at onceworker-get
Diffstat (limited to 'src/util/background/vars.rs')
-rw-r--r-- | src/util/background/vars.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/background/vars.rs b/src/util/background/vars.rs index fe54268e..7a449c95 100644 --- a/src/util/background/vars.rs +++ b/src/util/background/vars.rs @@ -71,6 +71,12 @@ impl BgVars { } } +impl Default for BgVars { + fn default() -> Self { + Self::new() + } +} + // ---- trait BgVarTrait: Send + Sync + 'static { |