Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
boost_count_all_files() can take way too long; abort count if longer then 10 seconds.
Comment | File | Size | Author |
---|---|---|---|
#1 | boost-621870.patch | 3.64 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedUsing glob() instead of opendir(), readdir(); I've heard mixed reports of either function being faster, so I'm going with the cleaner looking one.
Patch also contains some minor code fixes as well.
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedcommitted