flush on change metadata
This commit is contained in:
@ -102,6 +102,8 @@ impl ProtocolHandler for ServerState {
|
||||
));
|
||||
}
|
||||
|
||||
data_store.flush_metadata()?;
|
||||
|
||||
Ok(ReplaceTextureStatus::Ok)
|
||||
}
|
||||
(Some(delete), None) => {
|
||||
@ -111,6 +113,8 @@ impl ProtocolHandler for ServerState {
|
||||
));
|
||||
}
|
||||
|
||||
data_store.flush_metadata()?;
|
||||
|
||||
Ok(ReplaceTextureStatus::Ok)
|
||||
}
|
||||
(None, Some(insert)) => {
|
||||
@ -125,6 +129,8 @@ impl ProtocolHandler for ServerState {
|
||||
));
|
||||
}
|
||||
|
||||
data_store.flush_metadata()?;
|
||||
|
||||
Ok(ReplaceTextureStatus::Ok)
|
||||
}
|
||||
(None, None) => Ok(ReplaceTextureStatus::Ok),
|
||||
|
Reference in New Issue
Block a user