diff options
| author | bwarsaw | 1999-08-21 05:13:23 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-08-21 05:13:23 +0000 |
| commit | d32edf3685107a87a3645ca4f4df4bda165e249b (patch) | |
| tree | 681fdb5b5beb2ddbea8b5b6a19b850ccd593691c /Mailman/Archiver/HyperDatabase.py | |
| parent | f770c8f34026d4734b03c3e7a59ce75950da9f97 (diff) | |
| download | mailman-d32edf3685107a87a3645ca4f4df4bda165e249b.tar.gz mailman-d32edf3685107a87a3645ca4f4df4bda165e249b.tar.zst mailman-d32edf3685107a87a3645ca4f4df4bda165e249b.zip | |
Extensive changes based on Jeremy Hylton's investigations. These
should considerably help the performance of the archiver.
Specifically:
update_dirty_archives(): Archived articles are appended to the .txt
file, and a gzip'd copy used to be written automatically. However
this turns out to be a huge performance hit (it's not very efficient
to do the entire gzip in Python, and we can't use gzip's append
feature because apparently Netscape doesn't know how to grok gzip
append files). The gzip file only now gets created if 1) gzip can be
imported, and 2) mm_cfg.GZIP_ARCHIVE_TXT_FILES is true.
XXX: note that we should add a cronjob to gzip the file nightly.
consolidate imports
Diffstat (limited to 'Mailman/Archiver/HyperDatabase.py')
0 files changed, 0 insertions, 0 deletions
