Skip to content

Commit

Permalink
Report generation lock should attempt fairness
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Dec 23, 2020
1 parent d4ba467 commit 5f91be4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public abstract class ReportsModule {
@Named(REPORT_GENERATION_LOCK)
/** Used to ensure that only one report is generated at a time */
static ReentrantLock provideReportGenerationLock() {
return new ReentrantLock();
return new ReentrantLock(true);
}

@Provides
Expand Down

0 comments on commit 5f91be4

Please sign in to comment.