summaryrefslogtreecommitdiff
path: root/lib/Multi/Maintenance.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-04-06 18:22:47 +0200
committerYorhel <git@yorhel.nl>2020-04-06 18:22:47 +0200
commit7cfc606c4ae05814fb4dde6fce90dcb09cb93679 (patch)
tree5be04b0c10e7f2e676bd6d8cb57d7eb51f590fd2 /lib/Multi/Maintenance.pm
parent91c5ca72e9c90c5a60f71e53a68c980094a59da8 (diff)
Delete old relation graph generating and caching machinery
Diffstat (limited to 'lib/Multi/Maintenance.pm')
-rw-r--r--lib/Multi/Maintenance.pm6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Multi/Maintenance.pm b/lib/Multi/Maintenance.pm
index e0f9e08d..4f469993 100644
--- a/lib/Multi/Maintenance.pm
+++ b/lib/Multi/Maintenance.pm
@@ -77,12 +77,6 @@ my %dailies = (
# takes a few seconds, need more data and measurements. This query /should/ not be necessary.
imagecache => 'SELECT update_images_cache(NULL)',
- # should be pretty fast
- cleangraphs => q|
- DELETE FROM relgraphs vg
- WHERE NOT EXISTS(SELECT 1 FROM vn WHERE rgraph = vg.id)
- AND NOT EXISTS(SELECT 1 FROM producers WHERE rgraph = vg.id)|,
-
cleansessions => q|DELETE FROM sessions WHERE expires < NOW()|,
cleannotifications => q|DELETE FROM notifications WHERE read < NOW()-'1 month'::interval|,
cleannotifications2=> q|DELETE FROM notifications WHERE id IN (