don't track EFCore objects that don't need to be updated
This commit is contained in:
parent
d42e73699b
commit
f7f88ff98f
24 changed files with 50 additions and 33 deletions
|
|
@ -56,7 +56,7 @@ public class MessageUpdateResponder(
|
|||
return Result.Success;
|
||||
}
|
||||
|
||||
var guildConfig = await db.GetGuildAsync(msg.GuildID.Value, ct);
|
||||
var guildConfig = await db.GetGuildAsync(msg.GuildID.Value, false, ct);
|
||||
|
||||
if (await messageRepository.IsMessageIgnoredAsync(msg.ID.Value, ct))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue