nickva commented on code in PR #5716:
URL: https://github.com/apache/couchdb/pull/5716#discussion_r2467090560


##########
src/couch/src/couch_auto_purge_plugin.erl:
##########
@@ -47,7 +47,7 @@ checkpoint(_St) ->
 db(St, DbName) ->
     case ttl(St, DbName) of
         TTL when is_integer(TTL) ->
-            {ok, St#{ttl => TTL}};
+            {ok, St#{ttl => TTL, db_name => DbName, db_n => mem3:n(DbName)}};

Review Comment:
   I'll update it to avoid the extra state



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to