X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htetc%2Fhandler.pl;h=2fe5d376e5aa809386bab34302a7ab4c20290e69;hp=4bb214c9805611fb897dc36d1f2853b0203b7ee6;hb=ff27c3f36240aee48ed50153dd5d8fe3ac3f2443;hpb=63cc43a59cf31b1d2f48c9bbdd0d87afd7bccb4d diff --git a/htetc/handler.pl b/htetc/handler.pl index 4bb214c98..2fe5d376e 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,