Actions
Bug #33770
closedDiscovery generates too many notifications
Description
In an enviroment with about 300 hosts in "Discovered hosts" and ~100 users, Foreman creates too many notifications in the database (this is 5 days):
foreman=# select count(*) from notification_recipients;
count
----------
10258704
(1 row)
There's a cron job that runs every Sunday to clean that but I think it's not enough.
And because it's so large, when creating a new VM, a delete query can take more than 2 minutes, making hammer/foreman time out.
Actions