Comments (4)
motan-go的access log日志为:
access log--server:10.100.10.10:7011,pt:4192, req:com.synative.cs.router.api.mapi.ApplyCross,apply,,1525880998123415778, res:4192,true,
只是耗时长超过4秒。
跟motan-php的2秒即异常跟预期的不一样
from motan-php.
是否和Connection.php中函数:_setStreamOpt中的@stream_set_timeout($this->_connection, 0, $read_time_out * 1000000);这句有关
from motan-php.
哦,找到,在这里,URL里不设置,默认的:const MOTAN_READ_TIME_OUT = 2;
from motan-php.
:) 是这样的,PHP 的默认读超时是 2 s .
from motan-php.
Related Issues (9)
- yar协议通过http调用,demo中的motan2使用后提示超出允许内存 HOT 9
- php用motan2协议调用,序列化不支持java对象 集合? HOT 6
- Wrong definition
- php客户端java服务序列化问题 HOT 5
- \Motan\Client的_call方法BUG
- PHP通过go agent调用java服务BUG HOT 1
- 超时问题 HOT 2
- composer安装,包没找到 HOT 2
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 motan-php.