Fixed an issue where cache would update even on a get request, causing an infinite loop
This commit is contained in:
parent
67d6c43e96
commit
cbc29c226f
|
@ -243,8 +243,6 @@ async def filter_content(table: str, r_filter):
|
|||
|
||||
await conn.close()
|
||||
log.info("RethinkDB Instance closed. Table: {}---Filter: {}---Method: filter_content".format(table, r_filter))
|
||||
if table == 'prefixes' or table == 'server_settings':
|
||||
loop.create_task(cache[table].update())
|
||||
return content
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue