[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

raeburn raeburn at source.lon-capa.org
Sat Nov 24 21:27:05 EST 2018


raeburn		Sun Nov 25 02:27:05 2018 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Eliminate double count when computing userload for servers with SSL. 
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1389 loncom/lonnet/perl/lonnet.pm:1.1390
--- loncom/lonnet/perl/lonnet.pm:1.1389	Sat Nov 24 16:19:20 2018
+++ loncom/lonnet/perl/lonnet.pm	Sun Nov 25 02:27:04 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1389 2018/11/24 16:19:20 raeburn Exp $
+# $Id: lonnet.pm,v 1.1390 2018/11/25 02:27:04 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -900,6 +900,7 @@
 	while ($filename=readdir(LONIDS)) {
 	    next if ($filename eq '.' || $filename eq '..');
 	    next if ($filename =~ /publicuser_\d+\.id/);
+            next if ($filename =~ /^[a-f0-9]+_linked\.id$/);
 	    my ($mtime)=(stat($perlvar{'lonIDsDir'}.'/'.$filename))[9];
 	    if ($curtime-$mtime < 1800) { $numusers++; }
 	}




More information about the LON-CAPA-cvs mailing list