Merge branch 'fix-set-record-data-size-call' into 'main'

call set_record_data_size with accumulated size

See merge request veilid/veilid!155
This commit is contained in:
Christien Rioux 2023-08-27 16:07:38 +00:00
commit 8c366387eb

View File

@ -612,7 +612,7 @@ where
// Update record // Update record
self.with_record_mut(key, |record| { self.with_record_mut(key, |record| {
record.store_subkey(subkey); record.store_subkey(subkey);
record.set_record_data_size(new_record_data_size); record.set_record_data_size(new_total_size);
}) })
.expect("record should still be here"); .expect("record should still be here");