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.
Updated by Guilherme M. Schroeder about 3 years ago
- Category set to Notifications
- Assignee set to Lukas Zapletal
Updated by Tomer Brisker about 3 years ago
- Project changed from Foreman to Discovery
- Category deleted (
Notifications)
Updated by The Foreman Bot about 3 years ago
- Fixed in Releases Discovery Plugin 16.0 added
Updated by Anonymous about 3 years ago
- Status changed from New to Closed
Applied in changeset foreman_discovery|bd5790df143772a828aab2fb13f2c406c478e153.
Actions