Improve performance

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2020-04-19 11:43:05 +02:00
parent a6be3e098c
commit 9f995d57a1
No known key found for this signature in database
GPG Key ID: CDE0BBD2738C4CC0

View File

@ -84,7 +84,8 @@ abstract class MessagesDao {
}
}
messagesToUpdate.forEach { internalUpsert(it) }
saveMessages(*messagesToUpdate.toTypedArray())
//messagesToUpdate.forEach { internalUpsert(it) }
}
}