X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htetc%2Fhandler.pl;fp=htetc%2Fhandler.pl;h=920da3c9748f162659cb62bd598a669d039461d8;hp=4bb214c9805611fb897dc36d1f2853b0203b7ee6;hb=d1803f981555834967c8164aa7dba45e96cd6569;hpb=52e2e7880c1cb061cac6896613abf17eea5df13f diff --git a/htetc/handler.pl b/htetc/handler.pl index 4bb214c98..920da3c97 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -6,6 +6,7 @@ use strict; use warnings; use FS::Mason qw( mason_interps ); use FS::Trace; +use FS::access_user_log; use FS::Conf; $FS::Conf::conf_cache_enabled = 1; # enable FS::Conf caching for performance @@ -65,6 +66,8 @@ sub handler #($r) = @_; my $r = shift; + my $start_time = time; + FS::Trace->log('protecting fds'); #from rt/bin/webmux.pl(.in) @@ -164,6 +167,8 @@ sub handler # ); # } + FS::access_user_log->insert_new_path( $r->filename, time-$start_time ); +\ FS::Trace->log('done'); FS::Trace->dumpfile( "%%%FREESIDE_EXPORT%%%/profile/$$.".time,