Index: openacs-4/packages/xotcl-request-monitor/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-request-monitor/www/index.tcl,v diff -u -r1.31.2.2 -r1.31.2.3 --- openacs-4/packages/xotcl-request-monitor/www/index.tcl 30 Apr 2019 18:50:52 -0000 1.31.2.2 +++ openacs-4/packages/xotcl-request-monitor/www/index.tcl 16 Jun 2019 18:51:08 -0000 1.31.2.3 @@ -385,7 +385,7 @@ set running_requests [throttle running] set running [expr {[llength $running_requests]/2}] -if {![catch {ns_conn contentsentlength}]} { +if {![catch {ns_conn contentsentlength}] && [nsv_array names ::xotcl::THREAD ::bgdelivery] ne ""} { set background_requests [bgdelivery running] set background [expr {[llength $background_requests]/2}] append running /$background Index: openacs-4/packages/xotcl-request-monitor/www/running.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-request-monitor/www/running.tcl,v diff -u -r1.10 -r1.10.2.1 --- openacs-4/packages/xotcl-request-monitor/www/running.tcl 27 Jun 2018 16:26:34 -0000 1.10 +++ openacs-4/packages/xotcl-request-monitor/www/running.tcl 16 Jun 2019 18:51:08 -0000 1.10.2.1 @@ -19,7 +19,7 @@ } set running_requests [throttle running] -if {[info commands bgdelivery] ne ""} { +if {[info commands bgdelivery] ne "" && [nsv_array names ::xotcl::THREAD ::bgdelivery] ne ""} { set background_requests [bgdelivery running] } else { set background_requests [list]