-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename field
DiscoveredAt
to LastSeenAt
@ ThreadMissingFirstRep…
…ly.cs * now will always replace existing entity fields with new values even if it's null @ `CrawlPost.SaveThreadMissingFirstReply()` * now will retry all savers, this is similar to `TbmDbContext.SaveChangesForUpdate()` * fix commit transaction before emitting `BaseSaver.OnPostSaveEvent()` & `PostCommitSaveHook()` @ `BaseCrawlFacade.SaveCrawled()` * using `SaveChangesForUpdate()` to retry saving the title of the parent thread even if the thread is not saved before @ `ReplyCrawlFacade.SaveParentThreadTitle()` * remove `IQueryable<>.ForUpdate()` in favor of `TbmDbContext.SaveChangesForUpdate()` @ `BasePostSaver.Save()`, `ReplySaver.SaveReply(Signatures|ContentImages)()`, `UserSaver.Save()` & `ForumModeratorRevisionCrawlWorker.Save()` @ crawler + methods `SaveChangesForUpdate(Async)()` which similar to https://learn.microsoft.com/en-us/ef/core/saving/concurrency#resolving-concurrency-conflicts - class `SelectForUpdateCommandInterceptor` and its static prop @ TbmDbContext - method `IQueryable<>.ForUpdate()` @ ExtensionMethods.cs @ shared @ c#
- Loading branch information
Showing
10 changed files
with
94 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters