apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.07k stars 344 forks source link

[TC-321] Consider Adding Traffic Router Config for Certificate Check Interval GH #1780 #958

Open limited opened 7 years ago

limited commented 7 years ago

Currently, when Traffic Router doesn't have certificates for delivery services, it sleeps for a hard-coded 1 second and tries again, infinitely.

See b89c9c8#diff-895918d726d34df684cb81881e1b72f9R137

We should consider making the time interval a config, to allow dynamically changing the time between checks.

We may decide this is too small to be worth another config param. But we should think about it and make a decision.

If it is a config, it should probably be a static value, not exponential backoff, because there's no network activity. This checks a data object which is fetched by another thread, so the cost is only a tiny amount of CPU.

Author: Dewayne Richardson JIRA Link: https://issues.apache.org/jira/browse/TC-321

dewrich commented 6 years ago

Not sure why this is assigned to me @mitchell852