geforkt von Mirrors/Velocity
Add flag to disable native transports
Dieser Commit ist enthalten in:
Ursprung
145dfa8ac6
Commit
58b52cce0c
@ -67,6 +67,10 @@ enum TransportType {
|
||||
}
|
||||
|
||||
public static TransportType bestType() {
|
||||
if (Boolean.getBoolean("velocity.disable-native-transport")) {
|
||||
return NIO;
|
||||
}
|
||||
|
||||
if (Epoll.isAvailable()) {
|
||||
return EPOLL;
|
||||
} else if (KQueue.isAvailable()) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren