Fix lifespan syntax
This commit is contained in:
parent
39bb3b0b72
commit
e6606a012a
@ -32,7 +32,7 @@ public class ExprDataSource extends SimpleExpression<HikariDataSource> {
|
|||||||
static {
|
static {
|
||||||
Skript.registerExpression(ExprDataSource.class, HikariDataSource.class,
|
Skript.registerExpression(ExprDataSource.class, HikariDataSource.class,
|
||||||
ExpressionType.COMBINED, "[the] data(base|[ ]source) [(of|at)] %string% " +
|
ExpressionType.COMBINED, "[the] data(base|[ ]source) [(of|at)] %string% " +
|
||||||
"[with [a] [max[imum]] [connection] life[ ]time of %timespan%]");
|
"[with [a] [max[imum]] [connection] life[ ]time of %-timespan%]");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Map<String, HikariDataSource> connectionCache = new HashMap<>();
|
private static Map<String, HikariDataSource> connectionCache = new HashMap<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user