remove DashProfiler
was commented out. In the future, profiler code should be kept in it's own branch, and then merged against smtpd/master when being used.
This commit is contained in:
parent
6a83020878
commit
625905a193
@ -6,8 +6,6 @@ use vars qw($TraceLevel $Spool_dir $Size_threshold);
|
||||
use Sys::Hostname;
|
||||
use Qpsmtpd::Constants;
|
||||
|
||||
#use DashProfiler;
|
||||
|
||||
our $VERSION = "0.94";
|
||||
|
||||
my $git;
|
||||
@ -26,8 +24,6 @@ my %defaults = (
|
||||
my $_config_cache = {};
|
||||
our %config_dir_memo;
|
||||
|
||||
#DashProfiler->add_profile("qpsmtpd");
|
||||
#my $SAMPLER = DashProfiler->prepare("qpsmtpd");
|
||||
our $LOGGING_LOADED = 0;
|
||||
|
||||
sub _restart {
|
||||
@ -46,10 +42,7 @@ sub _restart {
|
||||
}
|
||||
}
|
||||
|
||||
sub DESTROY {
|
||||
|
||||
#warn $_ for DashProfiler->profile_as_text("qpsmtpd");
|
||||
}
|
||||
sub DESTROY { }
|
||||
|
||||
sub version { $VERSION . ($git ? "/$git" : "") }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user