Skip to content

Commit

Permalink
Fix sql timeout on sql server when deleting files
Browse files Browse the repository at this point in the history
  • Loading branch information
da3dsoul committed Dec 7, 2017
1 parent 711b278 commit d4e87a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/Models/SVR_VideoLocal_Place.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public void RemoveRecord()
RepoFactory.VideoLocal.DeleteWithOpenTransaction(session, v);
CommandRequest_DeleteFileFromMyList cmdDel =
new CommandRequest_DeleteFileFromMyList(v.Hash, v.FileSize);
cmdDel.Save(session);
cmdDel.Save();
}
dupFiles?.ForEach(a => RepoFactory.DuplicateFile.DeleteWithOpenTransaction(session, a));
transaction.Commit();
Expand Down

0 comments on commit d4e87a8

Please sign in to comment.