You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/12/24 03:45:41 UTC

[GitHub] [incubator-brpc] leaf-potato opened a new issue, #2060: example中logoff_ms参数的作用

leaf-potato opened a new issue, #2060:
URL: https://github.com/apache/incubator-brpc/issues/2060

   在example目录下大多数例子的`server.cpp`中都定义了`logoff_ms`这个gflag, 但似乎没有地方使用了这个参数。想问下这个参数在什么地方发挥作用呢?


-- 
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: dev-unsubscribe@brpc.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] serverglen closed issue #2060: example中logoff_ms参数的作用

Posted by GitBox <gi...@apache.org>.
serverglen closed issue #2060: example中logoff_ms参数的作用
URL: https://github.com/apache/incubator-brpc/issues/2060


-- 
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: dev-unsubscribe@brpc.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] wwbmmm commented on issue #2060: example中logoff_ms参数的作用

Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #2060:
URL: https://github.com/apache/incubator-brpc/issues/2060#issuecomment-1364924124

   可以的


-- 
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: dev-unsubscribe@brpc.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] leaf-potato commented on issue #2060: example中logoff_ms参数的作用

Posted by GitBox <gi...@apache.org>.
leaf-potato commented on issue #2060:
URL: https://github.com/apache/incubator-brpc/issues/2060#issuecomment-1364866285

   这样的话是否可以提个PR删掉example中的这个gflag呢


-- 
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: dev-unsubscribe@brpc.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] wwbmmm commented on issue #2060: example中logoff_ms参数的作用

Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #2060:
URL: https://github.com/apache/incubator-brpc/issues/2060#issuecomment-1364831593

   这个是用来传递给Server::Stop方法的参数,不过按照注释,这个参数已不再使用
   
   ```cpp
       // Stop accepting new connections and requests from existing connections.
       // Returns 0 on success, -1 otherwise.
       int Stop(int closewait_ms/*not used anymore*/);
   ```


-- 
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: dev-unsubscribe@brpc.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org