Commit 2c410e6
committed
Default validateOnHeartbeat = !System.getenv().containsKey("LAMBDA_TASK_ROOT");
With this we can then remove the explicit experimental lambdaMode() and just auto detect it. When running in lambda we don't want to validate connections in a background task due to lambda suspend.1 parent 22f44c9 commit 2c410e6
File tree
1 file changed
+1
-1
lines changed- ebean-datasource-api/src/main/java/io/ebean/datasource
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments