You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/11/25 10:38:53 UTC

[GitHub] [dubbo] QingJuBaiTang opened a new issue, #11031: reference的timeout配置不生效

QingJuBaiTang opened a new issue, #11031:
URL: https://github.com/apache/dubbo/issues/11031

   ### Environment
   
   * Dubbo version: 3.1.0
   * Operating System version: MacOS 13.0
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   1. 写一个简单的项目(非spring项目)
   2. main方法启动一个provider,对外暴露一个简单的api,比如DemoService#sayHi(),用sleep模拟一个耗时3秒的调用
   3. main方法再启动一个consumer。创建两个reference去调用2中的api,第一个reference设置timeout为1秒,第二个reference设置超时为5秒
   
   ### 预期结果:
   - 第一个调用超时,第二个调用正常
   
   ### 实际结果:
   - 两个调用均超时了
   
   这边提供一个用于重现bug的repo,希望能帮你们重现问题 https://github.com/QingJuBaiTang/dubbo-learn
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #11031: reference的timeout配置不生效

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #11031:
URL: https://github.com/apache/dubbo/issues/11031#issuecomment-1336689248

   > I wonder if it really matters. Most of the time, they will use the same settings, so the cache works better.
   
   This cache will break the config even in different service provided by the same provider.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] tigerhb001 commented on issue #11031: reference的timeout配置不生效

Posted by GitBox <gi...@apache.org>.
tigerhb001 commented on issue #11031:
URL: https://github.com/apache/dubbo/issues/11031#issuecomment-1335236621

   I wonder if it really matters.
   Most of the time, they will use the same settings, so the cache works better.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ closed issue #11031: reference的timeout配置不生效

Posted by GitBox <gi...@apache.org>.
AlbumenJ closed issue #11031: reference的timeout配置不生效
URL: https://github.com/apache/dubbo/issues/11031


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org