If there are many files/folders in Google Drive, it takes a long time to walk through the folders in Drive and get the *drive.Files for all of the files. The best option is probably to cache that information locally and then update it at startup time using the Drive notification stream.
If there are many files/folders in Google Drive, it takes a long time to walk through the folders in Drive and get the *drive.Files for all of the files. The best option is probably to cache that information locally and then update it at startup time using the Drive notification stream.