Merge branch 'prod' into main

This commit is contained in:
Dylan
2023-07-12 20:41:00 +01:00
committed by GitHub

View File

@ -249,6 +249,7 @@ def secondsUntilTTL(ttl):
return untilTTL.total_seconds()
def make_cached_vnf_response(vnf,response):
return response
try:
if 'ttl' not in vnf or vnf['ttl'] == None or secondsUntilTTL(vnf['ttl']) <= 0:
return response