[java-plugin-storage-jdbc] 01/02: OSJ-342 Investigate Strategies to end of life our use of Hibernate in V5
Rod Widdowson
rdw at steadingsoftware.com
Thu May 26 19:08:31 UTC 2022
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-plugin-storage-jdbc.
View the commit online:
http://git.shibboleth.net/view/?p=java-plugin-storage-jdbc.git;a=commit;h=2c23219fc52d20e1821d5c9d7eb384408aaff8c8
commit 2c23219fc52d20e1821d5c9d7eb384408aaff8c8
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed May 25 10:45:32 2022 +0100
OSJ-342 Investigate Strategies to end of life our use of Hibernate in V5
https://shibboleth.atlassian.net/browse/OSJ-342
Initialize queryTimeout
---
.../net/shibboleth/plugin/storage/jdbc/impl/JDBCStorageService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jdbc-storage-impl/src/main/java/net/shibboleth/plugin/storage/jdbc/impl/JDBCStorageService.java b/jdbc-storage-impl/src/main/java/net/shibboleth/plugin/storage/jdbc/impl/JDBCStorageService.java
index b28fac5..18d9f76 100644
--- a/jdbc-storage-impl/src/main/java/net/shibboleth/plugin/storage/jdbc/impl/JDBCStorageService.java
+++ b/jdbc-storage-impl/src/main/java/net/shibboleth/plugin/storage/jdbc/impl/JDBCStorageService.java
@@ -120,7 +120,7 @@ public final class JDBCStorageService extends AbstractStorageService implements
@Nonnull private final Logger log = LoggerFactory.getLogger(JDBCStorageService.class);
/** Timeout of SQL queries. */
- @Nonnull private Duration queryTimeout;
+ @Nonnull private Duration queryTimeout = Duration.ofSeconds(5);
/** How many times do we try an operation before giving up? */
private int transactionRetry = 3;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list