Index: openacs-4/packages/xotcl-request-monitor/xotcl-request-monitor.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-request-monitor/xotcl-request-monitor.info,v diff -u -r1.15.2.3 -r1.15.2.4 --- openacs-4/packages/xotcl-request-monitor/xotcl-request-monitor.info 7 Jun 2019 12:34:12 -0000 1.15.2.3 +++ openacs-4/packages/xotcl-request-monitor/xotcl-request-monitor.info 9 Aug 2019 08:41:44 -0000 1.15.2.4 @@ -56,7 +56,7 @@ - + Index: openacs-4/packages/xotcl-request-monitor/tcl/throttle_mod-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-request-monitor/tcl/throttle_mod-procs.tcl,v diff -u -r1.67.2.6 -r1.67.2.7 --- openacs-4/packages/xotcl-request-monitor/tcl/throttle_mod-procs.tcl 23 Jul 2019 14:38:03 -0000 1.67.2.6 +++ openacs-4/packages/xotcl-request-monitor/tcl/throttle_mod-procs.tcl 9 Aug 2019 08:41:44 -0000 1.67.2.7 @@ -1050,7 +1050,7 @@ #ns_log notice "=== [self] addKey $key $pa $url '$community_id' $is_embedded_request" # # This method stores information about the current request partly - # in the round-robbin objects of the specified time windows, and + # in the round-robin objects of the specified time windows, and # keeps global information in the class objects. # # key: either user_id or peer address @@ -1185,7 +1185,7 @@ Users proc incrRefCount {key pa} { # - # Whis method is called whenever the user (key) was seen the first + # This method is called whenever the user (key) was seen the first # time in the current minute. # if {[incr :refcount($key)] == 1} { @@ -1476,10 +1476,13 @@
  • timeWindow:Time window for computing detailed statistics; can be configured via OACS package parameter time-window
  • timeoutMs: Time window to keep statistics for a user
  • -
  • startThrottle: If user requests more than this #, thre requests are delayed. When larger than toMuc, the parameter is ignored
  • -
  • toMuch: If user requests more than this #, he is kicked out
  • +
  • startThrottle: If user requests more than this #, her + requests are delayed. When larger than toMuch, the parameter is ignored
  • +
  • toMuch: If user requests more than this #, she is kicked out
  • - The throttler is defined as a class running in a detached thread. See XOTcl API for Thread management for more details. + The throttler is defined as a class running in a detached thread. + See XOTcl + API for Thread management for more details. It can be subclassed to define e.g. different kinds of throttling policies for different kind of request keys. Note that the throttle thread itself does not block, only the connection thread blocks if necessary (on throttles).