This is related to #652.
When indexing an Android repo, there are certain projects that have large binary files such as prebuilts/ndk which aren't necessary to index. Putting such directories in the ignore patterns skips the source indexing for that directory but the history index is still created. The history caching can sometimes take upwards of 30 minutes for such repositories.
Use IGNORE_PATTERNS or some similar mechanism to skip history indexing of these repos.