]> Sergey Matveev's repositories - public-inbox.git/commitdiff
v2writable: clarify "epoch" comment
authorEric Wong <e@yhbt.net>
Fri, 24 Jul 2020 05:55:58 +0000 (05:55 +0000)
committerEric Wong <e@yhbt.net>
Sat, 25 Jul 2020 20:48:18 +0000 (20:48 +0000)
lib/PublicInbox/V2Writable.pm

index c59ead393ac65aadf263f33e160afb44b2cf68de..13c1ad6f8c4815e6781602633163ccc79ee8812d 100644 (file)
@@ -120,7 +120,7 @@ sub new {
                lock_path => "$dir/inbox.lock",
                # limit each git repo (epoch) to 1GB or so
                rotate_bytes => int((1024 * 1024 * 1024) / $PACKING_FACTOR),
-               last_commit => [], # git repo -> commit
+               last_commit => [], # git epoch -> commit
        };
        $self->{shards} = count_shards($self) || nproc_shards($creat);
        $self->{index_max_size} = $v2ibx->{index_max_size};