Merge branch 'prod' into main
This commit is contained in:
commit
694baf99af
@ -249,6 +249,7 @@ def secondsUntilTTL(ttl):
|
|||||||
return untilTTL.total_seconds()
|
return untilTTL.total_seconds()
|
||||||
|
|
||||||
def make_cached_vnf_response(vnf,response):
|
def make_cached_vnf_response(vnf,response):
|
||||||
|
return response
|
||||||
try:
|
try:
|
||||||
if 'ttl' not in vnf or vnf['ttl'] == None or secondsUntilTTL(vnf['ttl']) <= 0:
|
if 'ttl' not in vnf or vnf['ttl'] == None or secondsUntilTTL(vnf['ttl']) <= 0:
|
||||||
return response
|
return response
|
||||||
|
Loading…
x
Reference in New Issue
Block a user