about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
authorEric Wong <e@80x24.org>2016-06-19 04:50:40 +0000
committerEric Wong <e@80x24.org>2016-06-19 04:54:05 +0000
commit37f9ab9084d1808e45ea72db1d6e9ba5160f1481 (patch)
tree03489ecad95510ffb694a041b7ce9bcdc667ff2a /lib/PublicInbox
parent763928565699beea87006156c565d0f808f9becc (diff)
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')
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 => [],