Files
dougal-software/lib/www/server/periodic-tasks/tasks/index.js
D. Berge b148ed2368 Add refresh-project-summary periodic task.
It listens for events that might indicate that the project_summary
materialised view needs to be refreshed and schedules a refresh.

Refreshes are throttled to a maximum of one every throttlePeriod
milliseconds so that things don't get too crazy for instance when
importing a lot of data.
2023-11-02 13:25:34 +01:00

6 lines
96 B
JavaScript

module.exports = [
require('./purge-notifications'),
require('./refresh-project-summary')
];