about summary refs log tree commit homepage
path: root/lib/PublicInbox/Inbox.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Inbox.pm')
-rw-r--r--lib/PublicInbox/Inbox.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm
index 2771a241..b3178b98 100644
--- a/lib/PublicInbox/Inbox.pm
+++ b/lib/PublicInbox/Inbox.pm
@@ -32,13 +32,12 @@ sub cleanup_task () {
                                 # refcnt is zero when tmp is out-of-scope
                         }
                 }
-                my $expire = time - 60;
                 if (my $git = $ibx->{git}) {
-                        $again = $git->cleanup($expire);
+                        $again = $git->cleanup;
                 }
                 if (my $gits = $ibx->{-repo_objs}) {
                         foreach my $git (@$gits) {
-                                $again = 1 if $git->cleanup($expire);
+                                $again = 1 if $git->cleanup;
                         }
                 }
                 if ($have_devel_peek) {