Home Ruby Stdout.sync=true的含义
Post
Cancel

Ruby Stdout.sync=true的含义

参考:https://stackoverflow.com/questions/29998728/what-stdout-sync-true-means

就是让控制台立即输出内容。 而不是缓存一小段时间后统一输出。

在建立websocket server的时候特别有用。

This post is licensed under CC BY 4.0 by the author.