mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
fix: netty compatibility issues #591
This commit is contained in:
parent
2a87a24980
commit
b71edc1f26
@ -53,8 +53,8 @@ public class VertxInitializer {
|
||||
.addCompressor(io.netty.handler.codec.compression.StandardCompressionOptions.gzip())
|
||||
.setCompressionSupported(true);
|
||||
log.warn("[PowerJob-Vertx] enable server side compression successfully!");
|
||||
} catch (Exception e) {
|
||||
log.warn("[PowerJob-Vertx] enable server side compression failed!", e);
|
||||
} catch (Throwable t) {
|
||||
log.warn("[PowerJob-Vertx] enable server side compression failed. The error is not fatal, but performance may be degraded", t);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user