Merge branch 'main' into avm99963-monorail
Merged commit cd4b3b336f1f14afa02990fdc2eec5d9467a827e
GitOrigin-RevId: e67bbf185d5538e1472bb42e0abb2a141f88bac1
diff --git a/framework/trimvisitedpages.py b/framework/trimvisitedpages.py
index 8d6ec23..f036c10 100644
--- a/framework/trimvisitedpages.py
+++ b/framework/trimvisitedpages.py
@@ -10,6 +10,8 @@
from framework import jsonfeed
+
+# TODO: change to FlaskInternalTask when convert to Flask
class TrimVisitedPages(jsonfeed.InternalTask):
"""Look for users with more than 10 visited hotlists and deletes extras."""
@@ -17,3 +19,9 @@
def HandleRequest(self, mr):
"""Delete old RecentHotlist2User rows when there are too many"""
self.services.user.TrimUserVisitedHotlists(mr.cnxn)
+
+ # def GetTrimVisitedPages(self, **kwargs):
+ # return self.handler(**kwargs)
+
+ # def PostTrimVisitedPages(self, **kwargs):
+ # return self.handler(**kwargs)