From cb90a12dec7b1c55ebae5a83bafa15f415b576da Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 24 Mar 2011 13:35:32 -0700 Subject: watcher: fix documentation for X-* headers I copied and pasted off the Raindrops::LastDataRecv documentation. While the headers and mathematical meanings are identical, they measure different things (but for the same purpose) Noticed-by: Troex Nevelin --- lib/raindrops/watcher.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib') diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb index ada921a..6ecd3ed 100644 --- a/lib/raindrops/watcher.rb +++ b/lib/raindrops/watcher.rb @@ -72,19 +72,19 @@ require "aggregate" # - active_min - do not stream a line until this active count is reached # - queued_min - do not stream a line until this queued count is reached # -# == Response headers (mostly the same as Raindrops::LastDataRecv) +# == Response headers (mostly the same names as Raindrops::LastDataRecv) # -# - X-Count - number of requests received +# - X-Count - number of samples polled # - X-Last-Reset - date since the last reset # # The following headers are only present if X-Count is greater than one. # -# - X-Min - lowest last_data_recv time recorded (in milliseconds) -# - X-Max - highest last_data_recv time recorded (in milliseconds) -# - X-Mean - mean last_data_recv time recorded (rounded, in milliseconds) -# - X-Std-Dev - standard deviation of last_data_recv times -# - X-Outliers-Low - number of low outliers (hopefully many!) -# - X-Outliers-High - number of high outliers (hopefully zero!) +# - X-Min - lowest number of connections recorded +# - X-Max - highest number of connections recorded +# - X-Mean - mean number of connections recorded +# - X-Std-Dev - standard deviation of connection count +# - X-Outliers-Low - number of low outliers (hopefully many for queued) +# - X-Outliers-High - number of high outliers (hopefully zero for queued) # # = Demo Server # -- cgit v1.2.3-24-ge0c7