1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Fixed an issue where cache would update even on a get request, causing an infinite loop

This commit is contained in:
Phxntxm 2017-03-19 22:11:40 -05:00
parent 67d6c43e96
commit cbc29c226f

View file

@ -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