Skip to content

Commit

Permalink
TEIID-5132 adding synchronization
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Jan 3, 2018
1 parent 2ac1099 commit e1db5d2
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -412,7 +412,9 @@ public int getWaitingPlanCount() {
}

public int getMaxWaitingPlanWatermark() {
return this.maxWaitingPlans;
synchronized (waitingPlans) {
return this.maxWaitingPlans;
}
}

void removeRequest(final RequestWorkItem workItem) {
Expand Down

0 comments on commit e1db5d2

Please sign in to comment.