]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Inbox.pm
inbox: fix periodic git process cleanup
[public-inbox.git] / lib / PublicInbox / Inbox.pm
index 43c6a4285e29b71bdec75bb8a452c2567f28275a..f294c0d515f74aa4e8eb584d70d73d38fd10e603 100644 (file)
@@ -52,7 +52,7 @@ sub cleanup_task () {
 sub cleanup_possible () {
        # no need to require DS, here, if it were enabled another
        # module would've require'd it, already
-       eval { PublicInbox::DS::running() } or return 0;
+       eval { $PublicInbox::DS::in_loop } or return 0;
 
        eval {
                require Devel::Peek; # needs separate package in Fedora