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
- 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