We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55ee83c commit 80795aaCopy full SHA for 80795aa
src/database.rs
@@ -537,6 +537,11 @@ pub fn send_changes_to_db(
537
pb.enable_steady_tick(100);
538
539
for sql_transaction in generate_sql(old_map, new_map, room_id) {
540
+ if sql_transaction.is_empty() {
541
+ pb.inc(1);
542
+ continue;
543
+ }
544
+
545
// commit this change to the database
546
// N.B. this is a synchronous library so will wait until finished before continueing...
547
// if want to speed up compressor then this might be a good place to start!
0 commit comments