We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86ec028 commit 4fabbb9Copy full SHA for 4fabbb9
1 file changed
src/SIL.XForge.Scripture/Services/ParatextService.cs
@@ -2121,7 +2121,9 @@ int chapter
2121
foreach (HgRevision revision in revisionCollection)
2122
{
2123
// Get the revision summary to see if the book and chapter has changed
2124
- RevisionChangeInfo revisionSummary = revisionCollection.GetSummaryFor(revision);
+ // Note: revisionCollection.GetSummaryFor(revision) maintains a non-thread safe cache of the revision
2125
+ // summaries, so we should just instantiate RevisionChangeInfo, as we will not need the cache.
2126
+ RevisionChangeInfo revisionSummary = new RevisionChangeInfo(revisionCollection.VersionedText, revision);
2127
2128
// Skip the revision if this book is not modified
2129
if (!revisionSummary.HasChangesInBook(bookNum))
0 commit comments