张晓波
2023-09-26 8ae14aaf27d645f8897b5b7305880d4df37a297d
删除大屏 mq
已修改2个文件
6 ■■■■ 文件已修改
hd/pipe/StaffManage/src/main/java/com/thhy/staff/modules/biz/netty/NettyServer.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
hd/pipe/gateway/src/main/resources/application-pro.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
hd/pipe/StaffManage/src/main/java/com/thhy/staff/modules/biz/netty/NettyServer.java
@@ -30,7 +30,7 @@
    private EventLoopGroup work = new NioEventLoopGroup();
    @Value("netty.port")
    private Integer port;
    private String port;
    /**
     * 启动Netty Server
@@ -44,7 +44,7 @@
                // 指定Channel
                .channel(NioServerSocketChannel.class)
                //使用指定的端口设置套接字地址
                .localAddress(new InetSocketAddress(port))
                .localAddress(new InetSocketAddress(Integer.parseInt(port)))
                //服务端可连接队列数,对应TCP/IP协议listen函数中backlog参数
                .option(ChannelOption.SO_BACKLOG, 1024)
hd/pipe/gateway/src/main/resources/application-pro.yml
@@ -5,7 +5,7 @@
      discovery:
        heart-beat-interval: 3000
        heart-beat-timeout: 15000
        group: pipe
        group: supipe
      config:
        file-extension: yml
        group: sunacos