diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-16 19:49:17 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-16 19:49:17 +0100 |
commit | b1e406d73844d5a30344ca8ac855fe850c52bc2f (patch) | |
tree | 0fd8ec585574a079de6f0a57fca902189a71223e /sitemaps.py | |
parent | 404c4b400b2bd2a14e0363e33d66505c51903fe7 (diff) | |
download | archweb-b1e406d73844d5a30344ca8ac855fe850c52bc2f.tar.gz archweb-b1e406d73844d5a30344ca8ac855fe850c52bc2f.tar.xz |
reporead_inotify: spin up read_repo() in separate thread
This prevents memory usage from ballooning to absolutely huge values,
such as when multiple threads kick off at the same time. The bulk of our
memory allocation obviously comes in these threads and not the main
threads, so being able to isolate them in processes helps a lot.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'sitemaps.py')
0 files changed, 0 insertions, 0 deletions