mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-11 14:56:53 +00:00
table::insert_many, version_table::updated
This commit is contained in:
+1
-3
@@ -97,9 +97,7 @@ impl TableFormat for ObjectTable {
|
||||
type S = String;
|
||||
type E = Object;
|
||||
|
||||
async fn updated(&self, old: Option<&Self::E>, new: &Self::E) {
|
||||
let old = old.cloned();
|
||||
let new = new.clone();
|
||||
async fn updated(&self, old: Option<Self::E>, new: Self::E) {
|
||||
let garage = self.garage.read().await.as_ref().cloned().unwrap();
|
||||
garage.clone().background.spawn(async move {
|
||||
// Propagate deletion of old versions
|
||||
|
||||
Reference in New Issue
Block a user