You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If end_time calculate a little earlier, the duration would be more relevant.
# lib/net/ping/external.rb
...
Open3.popen3(*pcmd)do |stdin,stdout,stderr,thread|
stdin.close@end_time=Time.now# <-------err=stderr.gets# Can't chomp yet, might be nil
...
# There is no duration if the ping failed@duration=@end_time - start_timeifbool
...
What it can be fraught with?
(What negative consequences can be?)
The text was updated successfully, but these errors were encountered:
If end_time calculate a little earlier, the duration would be more relevant.
What it can be fraught with?
(What negative consequences can be?)
The text was updated successfully, but these errors were encountered: