We avoid registering the amount of ads printed by the moment.
This commit is contained in:
parent
18bb4c83ff
commit
6724dc9257
@ -115,6 +115,8 @@ sub register_request {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $c = shift;
|
my $c = shift;
|
||||||
my $path = $c->req->url->path;
|
my $path = $c->req->url->path;
|
||||||
|
# Avoiding overloading the /stats endpoint.
|
||||||
|
return if $path =~ /\.json$/;
|
||||||
my $dbh = BurguillosInfo::DB->connect($app);
|
my $dbh = BurguillosInfo::DB->connect($app);
|
||||||
$self->_add_path($path);
|
$self->_add_path($path);
|
||||||
$self->_update_null_last_seen_paths_if_any();
|
$self->_update_null_last_seen_paths_if_any();
|
||||||
|
Loading…
Reference in New Issue
Block a user