File tree 1 file changed +6
-6
lines changed
astropylibrarian/workflows
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ async def expire_old_records(
38
38
old_object_ids : List [str ] = []
39
39
for r in await algolia_index .browse_objects (obj ):
40
40
# Double check that we're deleting the right things.
41
- if r ["root_url" ] != root_url :
42
- logger .warning ("root_url does not match: %s" , r ["root_url" ])
43
- continue
44
- if r ["index_epoch" ] == index_epoch :
45
- logger .warning ("index_epoch matches current epoch: %s" , r ["index_epoch" ])
46
- continue
41
+ # if r["root_url"] != root_url:
42
+ # logger.warning("root_url does not match: %s", r["root_url"])
43
+ # continue
44
+ # if r["index_epoch"] == index_epoch:
45
+ # logger.warning("index_epoch matches current epoch: %s", r["index_epoch"])
46
+ # continue
47
47
old_object_ids .append (r ["objectID" ])
48
48
49
49
logger .info (
You can’t perform that action at this time.
0 commit comments