reddit: pass logger to cachew

so that HPI_LOGS can be used to interact
with this module, to check if cachew
is working properly
This commit is contained in:
Sean Breckenridge 2021-12-09 16:44:51 -08:00 committed by karlicoss
parent 8033b5cdbd
commit 074b8685d6

View file

@ -85,7 +85,7 @@ Upvote = dal.Upvote
def _dal() -> dal.DAL:
inp = list(inputs())
return dal.DAL(inp)
cache = mcachew(depends_on=inputs) # depends on inputs only
cache = mcachew(depends_on=inputs, logger=logger) # depends on inputs only
@cache