Created
December 14, 2013 07:56
-
-
Save ndzj081221130/7956669 to your computer and use it in GitHub Desktop.
ruby_link_error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby的on函数?? | |
on(:after_stop) do | |
end | |
应该是自己实现的_ | |
warden/warden/event_emit.rb | |
link函数的问题? | |
查阅instance.rb < task.rb | |
在instance.rb中,搜health_check | |
warden/em-client | |
warden/client | |
检查response的返回值的内容? | |
从connection.rb中的 | |
link方法??? | |
LinkResponse : exit_status:1 | |
stdout,stderr,info | |
在warden日志中有对LinkRequest的返回值: exit_status: 1 | |
server.rb中在504行,调用container.dispatch(request) | |
dispatch函数在linux.rb < base.rb中。 | |
base.rb 602行,do_run方法中,新建SpawnRequest | |
dispatch(spawn_request) | |
新建LinkRequest, | |
610行新建link_request,调用dispatch(link_request) | |
在warden/protocol/base.rb中有??? | |
inspect函数 → string click to toggle source | |
Returns a string containing a human-readable representation of obj. By default, show the class name and the list of the instance variables and their values (by calling inspect on each of them). User defined classes should override this method to make better representation of obj. When overriding this method, it should return a string whose encoding is compatible with the default external encoding. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment