--- loncom/lonnet/perl/lonnet.pm 2005/02/16 20:16:44 1.598.2.3 +++ loncom/lonnet/perl/lonnet.pm 2005/02/23 23:19:42 1.600 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.598.2.3 2005/02/16 20:16:44 albertel Exp $ +# $Id: lonnet.pm,v 1.600 2005/02/23 23:19:42 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -883,8 +883,9 @@ sub do_cache_new { $setvalue='__undef__'; } if ($debug) { &Apache::lonnet::logthis("Setting $id to $value"); } - $memcache->set($id,$setvalue,300); - &make_room($id,$value,$debug); + $memcache->set($id,$setvalue,$time); + # need to make a copy of $value + #&make_room($id,$value,$debug); return $value; } @@ -5499,7 +5500,7 @@ sub goodbye { &logthis(sprintf("%-20s is %s",'%badServerCache',length(&freeze(\%badServerCache)))); #converted # &logthis(sprintf("%-20s is %s",'%metacache',scalar(%metacache))); -# &logthis(sprintf("%-20s is %s",'%homecache',length(&freeze(\%homecache)))); + &logthis(sprintf("%-20s is %s",'%homecache',length(&freeze(\%homecache)))); # &logthis(sprintf("%-20s is %s",'%titlecache',length(&freeze(\%titlecache)))); # &logthis(sprintf("%-20s is %s",'%courseresdatacache',length(&freeze(\%courseresdatacache)))); #1.1 only