#5804 - Views hook is painfully slow if it was blocked for some time

This is a spacer post for a website comment topic. The content this topic relates to: #5804 - Views hook is painfully slow if it was blocked for some time
Automated message: This issue was created using the Report Issue Wizard on the Composr homesite.
Bumping up to a minor bug. This is causing issues in composr.app . Even though stats are calculated daily, this particular hook is still very slow. Composr.app gets a lot of traffic but not what I'd call "excessive", so the amount of time (60+ seconds sometimes) it takes is concerning.

I optimised statistics to hopefully reduce the amount of time necessary to calculate:

- Scheduler for stats now runs once every hour instead of day to spread out resource use when calculating
- In addition to only looking back up to 31 days ago, the scheduler will only process stats for up to one day at a time per execution
- Flat calculations will be skipped if calculating for a previous day and not today (since flat hooks are usually overall stats and not time based)
- I fixed a few hooks which were not factoring in start and end time like they should have
1 guest and 0 members have recently viewed this.