We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 22f44c9 + 2c410e6 commit 88a092cCopy full SHA for 88a092c
ebean-datasource-api/src/main/java/io/ebean/datasource/DataSourceConfig.java
@@ -80,7 +80,7 @@ public class DataSourceConfig implements DataSourceBuilder.Settings {
80
private Properties clientInfo;
81
private String applicationName;
82
private boolean shutdownOnJvmExit;
83
- private boolean validateOnHeartbeat = true;
+ private boolean validateOnHeartbeat = !System.getenv().containsKey("LAMBDA_TASK_ROOT");
84
85
@Override
86
public Settings settings() {
0 commit comments