change static route expiry time from 1800 to 172800 (#14497)

* [Bgpcfgd] change static route expiry time from 1800 to 172800
This commit is contained in:
jcaiMR 2023-04-04 02:42:28 +08:00 committed by GitHub
parent 5db6b6131c
commit 9c5138b60e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,8 @@ class StaticRouteTimer(object):
DEFAULT_TIMER = 180
DEFAULT_SLEEP = 60
MAX_TIMER = 1800
# keep same range as value defined in sonic-restapi/sonic_api.yaml
MAX_TIMER = 172800
def set_timer(self):
""" Check for custom route expiry time in STATIC_ROUTE_EXPIRY_TIME """