Skip to content

Commit d760a86

Browse files
Reverting to single connection per thrrad (#6819)
1 parent 875a158 commit d760a86

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frameworks/Java/officefloor/src/woof_benchmark_sqlclient/src/main/java/net/officefloor/benchmark/SqlClientOfficeFloorMain.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public void threadSetup(RequestHandler<HttpRequestParser> requestHandler) {
130130
// Nothing thread specific to set up
131131
}
132132

133-
private static final int DB_COUNT = 2;
133+
private static final int DB_COUNT = 1;
134134

135135
@Override
136136
public void db(DbSendResponse sender) {
@@ -152,7 +152,7 @@ public void db(DbSendResponse sender) {
152152
});
153153
}
154154

155-
private static final int QUERIES_COUNT = 2;
155+
private static final int QUERIES_COUNT = 1;
156156

157157
@Override
158158
public void queries(int queryCount, QueriesSendResponse sender) {
@@ -182,7 +182,7 @@ public void queries(int queryCount, QueriesSendResponse sender) {
182182
}
183183
}
184184

185-
private static final int FORTUNES_COUNT = 2;
185+
private static final int FORTUNES_COUNT = 1;
186186

187187
@Override
188188
public void fortunes(FortunesSendResponse sender) {
@@ -202,7 +202,7 @@ public void fortunes(FortunesSendResponse sender) {
202202
});
203203
}
204204

205-
private static final int UPDATE_COUNT = 2;
205+
private static final int UPDATE_COUNT = 1;
206206

207207
@Override
208208
public void update(int queryCount, UpdateSendResponse sender) {

0 commit comments

Comments
 (0)