Database schema optimization - part 10
This commit is contained in:
@@ -56,9 +56,7 @@ impl<T: SessionStream> Session<T> {
|
||||
// Obtain message sizes
|
||||
let mut message_sizes = AHashMap::new();
|
||||
self.server
|
||||
.core
|
||||
.storage
|
||||
.data
|
||||
.store()
|
||||
.iterate(
|
||||
IterateParams::new(
|
||||
ValueKey {
|
||||
|
||||
@@ -98,6 +98,7 @@ impl<T: SessionStream> Session<T> {
|
||||
.commit_batch(batch)
|
||||
.await
|
||||
.caused_by(trc::location!())?;
|
||||
self.server.notify_task_queue();
|
||||
}
|
||||
if not_deleted.is_empty() {
|
||||
self.write_ok(format!(
|
||||
|
||||
Reference in New Issue
Block a user