Discovery generates too many notifications
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;
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.
Updated by Anonymous almost 2 years ago
- Status changed from New to Closed
Applied in changeset foreman_discovery|bd5790df143772a828aab2fb13f2c406c478e153.