[backend/core] Use the fetched object id as the lock key in NoteService.ResolveNoteAsync
This commit is contained in:
parent
fbb9165bec
commit
cf37567108
1 changed files with 1 additions and 1 deletions
|
@ -1365,7 +1365,7 @@ public class NoteService(
|
|||
|
||||
var actor = await userResolver.ResolveAsync(attrTo.Id, EnforceUriFlags);
|
||||
|
||||
using (await KeyedLocker.LockAsync(uri))
|
||||
using (await KeyedLocker.LockAsync(fetchedNote.Id))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue