Merge branch 'prod' into main

This commit is contained in:
Dylan 2023-07-12 20:41:00 +01:00 committed by GitHub
commit 694baf99af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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