Removing costful query.

This commit is contained in:
sergiotarxz 2023-05-02 19:00:53 +02:00
parent 2170498c5e
commit e4157ace4f
1 changed files with 0 additions and 4 deletions

View File

@ -76,10 +76,6 @@ EOF
my $dbh = BurguillosInfo::DB->connect($app);
my $data = $dbh->selectall_arrayref(<<"EOF", {Slice => {}});
SELECT paths.path,
(
$SELECT_GLOBAL
where requests.path = paths.path
) as unique_ips,
(
$SELECT_GLOBAL
where requests.path = paths.path and date > NOW() - interval '1 day'