DIRACGrid/DIRAC — pull request #1465 by phicharp (2013-05-14 16:09:22+00:00)
Title: FIX: do not get metadata of files when getting files in a directory if not strictly necessary

When getting the list of files in a directory (getFilesFromDirectory) in the RM, the LFC method was called with the parameter verbose=True. This is however not necessary as it queries the FC for metadata which are not used except if a limit date was set. Removing this unnecessary call (only when no limit is given) reduced the time for 168 directories (14000 files) from 2200 seconds to 350 seconds.