From e11bec7647747757d27c3da4fbd909e21411de69 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Mon, 10 Feb 2025 14:13:34 -0500 Subject: [PATCH] Remove Slapbird APM stuff --- cpanfile | 1 - lib/PostText.pm | 6 ------ 2 files changed, 7 deletions(-) diff --git a/cpanfile b/cpanfile index b8756a3..9cbd532 100644 --- a/cpanfile +++ b/cpanfile @@ -7,4 +7,3 @@ requires 'XML::RSS'; requires 'Text::Markdown'; requires 'HTML::Restrict'; requires 'Roman::Unicode'; -requires 'SlapbirdAPM::Agent::Mojo'; diff --git a/lib/PostText.pm b/lib/PostText.pm index 689b4d2..1f68e6a 100644 --- a/lib/PostText.pm +++ b/lib/PostText.pm @@ -19,12 +19,6 @@ sub startup($self) { $self->plugin('Config'); $self->plugin('TagHelpers::Pagination'); - # Alpha testing Slapbird APM - if (my $slapbirdapm_api_key = $self->config->{'slapbirdapm_api_key'}) { - $self->plugin('SlapbirdAPM', key => $slapbirdapm_api_key) - if $self->mode eq 'production' - } - # Helpers $self->helper(pg => sub ($c) { state $pg = Mojo::Pg->new($c->config->{$self->mode}{'pg_string'})