mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-16 16:33:38 +08:00

This can sometimes lead to too many files being opened in parallel and then failing because there aren't any file descriptors left. This patch isn't perfect as given the directory structure we could still be loading too many in one go, but it's a quick workaround for now. The proper solution is to only load the Notes which need to be displayed instead of loading all of them at startup.