diff options
author | Eric Wong <e@80x24.org> | 2016-06-19 04:50:40 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-06-19 04:54:05 +0000 |
commit | 37f9ab9084d1808e45ea72db1d6e9ba5160f1481 (patch) | |
tree | 03489ecad95510ffb694a041b7ce9bcdc667ff2a /lib/PublicInbox/Mbox.pm | |
parent | 763928565699beea87006156c565d0f808f9becc (diff) | |
download | public-inbox-37f9ab9084d1808e45ea72db1d6e9ba5160f1481.tar.gz |
This allows consistency between different invocations from roughly the same period and is no worse for caching any any of our existing HTML and Atom feeds. We cannot set the timestamp to the end date since messages may be added to the repository while we are iterating (and this streaming mechanism will pick them up).
Diffstat (limited to 'lib/PublicInbox/Mbox.pm')
-rw-r--r-- | lib/PublicInbox/Mbox.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm index 40ca6114..79348766 100644 --- a/lib/PublicInbox/Mbox.pm +++ b/lib/PublicInbox/Mbox.pm @@ -132,7 +132,7 @@ sub new { my $buf; bless { buf => \$buf, - gz => IO::Compress::Gzip->new(\$buf), + gz => IO::Compress::Gzip->new(\$buf, Time => 0), cb => $cb, ctx => $ctx, msgs => [], |