Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Fix mismatched system properties
Browse files Browse the repository at this point in the history
  • Loading branch information
md-5 committed Sep 4, 2017
1 parent 7068013 commit d7010d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy/src/main/java/net/md_5/bungee/netty/PipelineUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ public static Class<? extends Channel> getDatagramChannel()
return epoll ? EpollDatagramChannel.class : NioDatagramChannel.class;
}

private static final int LOW_MARK = Integer.getInteger( "net.md_5.bungee.high_mark", 2 << 18 ); // 0.5 mb
private static final int HIGH_MARK = Integer.getInteger( "net.md_5.bungee.low_mark", 2 << 20 ); // 2 mb
private static final int LOW_MARK = Integer.getInteger( "net.md_5.bungee.low_mark", 2 << 18 ); // 0.5 mb
private static final int HIGH_MARK = Integer.getInteger( "net.md_5.bungee.high_mark", 2 << 20 ); // 2 mb
private static final WriteBufferWaterMark MARK = new WriteBufferWaterMark( LOW_MARK, HIGH_MARK );

public final static class Base extends ChannelInitializer<Channel>
Expand Down

0 comments on commit d7010d6

Please sign in to comment.