Set time limits when dealing with the file system

mikeytown2 - November 3, 2009 - 11:16
Project:Boost
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

boost_count_all_files() can take way too long; abort count if longer then 10 seconds.

#1

mikeytown2 - November 4, 2009 - 02:32
Status:active» needs review

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

AttachmentSize
boost-621870.patch 3.64 KB

#2

mikeytown2 - November 6, 2009 - 10:46
Status:needs review» fixed

committed

#3

System Message - November 20, 2009 - 10:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.