comment out delete_empty_directories. It is too intensive

pull/1857/head
Isaac Connor 2017-04-07 13:21:33 -04:00
parent d462dfdb77
commit ed04c44ad0
1 changed files with 2 additions and 1 deletions

View File

@ -271,7 +271,7 @@ MAIN: while( $loop ) {
} # if USE_DEEP_STORAGE
Debug( 'Got '.int(keys(%$fs_events))." events for monitor $monitor_dir\n" );
delete_empty_directories( $monitor_dir );
#delete_empty_directories( $monitor_dir );
} # end foreach monitor
redo MAIN if ( $cleaned );
@ -660,6 +660,7 @@ sub deleteSwapImage {
sub delete_empty_directories {
my $DIR;
Debug("delete_empty_directories $_[0]");
if ( ! opendir( $DIR, $_[0] ) ) {
Error( "delete_empty_directories: Can't open directory '".getcwd()."/$_[0]': $!" );
return;