Skip to content

Commit a4f410c

Browse files
Extend query timeout
Currently can't deploy because the database won't finish it's migration, because there's a too small timelimit on the query.
1 parent 3a4d33c commit a4f410c

7 files changed

Lines changed: 8 additions & 6 deletions

File tree

EfspCommons/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>edu.suffolk.litlab</groupId>
77
<artifactId>efspserver-parent</artifactId>
8-
<version>1.3.3</version>
8+
<version>1.3.4</version>
99
</parent>
1010
<groupId>edu.suffolk.litlab</groupId>
1111
<artifactId>efsp-commons</artifactId>

TylerEcf4/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>edu.suffolk.litlab</groupId>
77
<artifactId>efspserver-parent</artifactId>
8-
<version>1.3.3</version>
8+
<version>1.3.4</version>
99
</parent>
1010
<groupId>edu.suffolk.litlab</groupId>
1111
<artifactId>tyler-ecf4</artifactId>

TylerEcf5/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>edu.suffolk.litlab</groupId>
77
<artifactId>efspserver-parent</artifactId>
8-
<version>1.3.3</version>
8+
<version>1.3.4</version>
99
</parent>
1010
<groupId>edu.suffolk.litlab</groupId>
1111
<artifactId>tyler-ecf5</artifactId>

TylerEfmClient/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>edu.suffolk.litlab</groupId>
77
<artifactId>efspserver-parent</artifactId>
8-
<version>1.3.3</version>
8+
<version>1.3.4</version>
99
</parent>
1010
<groupId>edu.suffolk.litlab</groupId>
1111
<artifactId>tyler-efm-client</artifactId>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>edu.suffolk.litlab</groupId>
55
<artifactId>efspserver-parent</artifactId>
6-
<version>1.3.3</version>
6+
<version>1.3.4</version>
77
<packaging>pom</packaging>
88
<name>EFSP Proxy Parent</name>
99
<description>Parent project for an EFSP client for the AssemblyLine Project</description>

proxyserver/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>edu.suffolk.litlab</groupId>
99
<artifactId>efspserver-parent</artifactId>
10-
<version>1.3.3</version>
10+
<version>1.3.4</version>
1111
</parent>
1212
<groupId>edu.suffolk.litlab</groupId>
1313
<artifactId>efspserver</artifactId>

proxyserver/src/main/java/edu/suffolk/litlab/efsp/db/DatabaseVersion.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,9 +596,11 @@ public void update10To11() throws SQLException {
596596

597597
try (Statement st = codeConn.createStatement()) {
598598
for (String tableName : tableNames) {
599+
st.setQueryTimeout(300);
599600
st.executeUpdate(stripEnvSuffix.formatted(tableName));
600601
}
601602
for (String tableName : tableNames) {
603+
st.setQueryTimeout(300);
602604
st.executeUpdate(
603605
"ALTER TABLE %s RENAME COLUMN domain TO jurisdiction".formatted(tableName));
604606
}

0 commit comments

Comments
 (0)