Comments (3)
这个情况主要原因是配置的空间连接的检测功能,由于框架使用的连接池,有可能会有连接建立但较长时间没有使用,所以针对这个情况,会进行测试,如果一段时间内连接没有读或写,就会进行关闭,同时给出以上警告,该配置由 RpcServerOptions的keepAliveTime属性来设置,默认是60s。 或想关闭,可以设置成小于0的值
from jprotobuf-rpc-socket.
嗯,明白了,谢谢。
from jprotobuf-rpc-socket.
@jhunters 这种情况下,keepAlive设置成false就可以了,不需要设置keepAliveTime属性
from jprotobuf-rpc-socket.
Related Issues (20)
- idle时间使用默认的60s,严格的按照每60s调用一次,偶发性发现服务连不上 HOT 2
- 无效端口判断应该是小于最小,大于最大吧 HOT 4
- 请教Connection的requestQueue设计问题 HOT 4
- 协议打jar包后缺少XXX程序包 #27问题类似 HOT 2
- 是否有打算对reactive和连接多路复用等进行支持 HOT 1
- byte数组转String时未指定编码
- 增加StrategyInterceptor属性可设置
- RpcClient#shutdown 极端情况可能会出现hang死情况 HOT 2
- Double-Checked Locking
- 修正 发布服务为void返回值方法时, 使用interceptor机制,会异步重复触发调用问题
- There is a vulnerability in netty 4.0.56.Final ,upgrade recommended
- There is a vulnerability in spring-boot 1.5.14.RELEASE ,upgrade recommended
- 不支持内部类的序列化和反序列化,是否可以支持? HOT 1
- ProtobufIDLProxy.create针对long double float 在设置default值,不加类型符里出错
- Springboot使用时,必须要依赖spring-boot-starter-web吗? HOT 3
- minEvictableIdleTimeMillis is useless with default timeBetweenEvictionRunsMillis
- 可不可以直接使用proto 里定义的pojo对象,而不定义用@Protobuf 定义的对象? HOT 1
- 是否能支持异步回调接口 HOT 1
- inconsistent protobuf structure definition between rpcRequestMeta and brpc protobuf
- Is there any release plan in the near future?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jprotobuf-rpc-socket.