Allow API repository timeouts to be configured