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 Jan 12, 2021
1 parent 5c2e33f commit ed191f8
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 ed191f8

Please sign in to comment.