Lines Matching refs:tunables

177         if (!be->tunables.down) {  in _cleanup_backend()
214 if (be->tunables.down) { in _setup_backend()
226 if (be->tunables.use_tls) { in _setup_backend()
241 event_add(&bec->main_event, &bec->tunables.connect); in _setup_backend()
320 int limit = be->tunables.backend_depth_limit; in proxy_run_backend_queue()
430 event_add(&be->write_event, &be->tunables.read); in _start_write_event()
444 event_add(&be->timeout_event, &be->tunables.read); in _start_timeout_event()
759 if (be->be_parent->tunables.use_tls) { in _backend_reconnect()
770 struct timeval tmp_time = be->tunables.connect; in proxy_backend_retry_handler()
773 if (be->be_parent->tunables.use_tls) { in proxy_backend_retry_handler()
786 long int retry_time = be->tunables.retry.tv_sec; in _backend_reschedule()
788 if (be->flap_count > be->tunables.backend_failure_limit) { in _backend_reschedule()
792 backoff *= be->tunables.flap_backoff_ramp; in _backend_reschedule()
796 if (retry_time > be->tunables.flap_backoff_max) { in _backend_reschedule()
797 retry_time = be->tunables.flap_backoff_max; in _backend_reschedule()
801 } else if (be->failed_count > be->tunables.backend_failure_limit) { in _backend_reschedule()
817 struct timeval tmp_time = be->tunables.connect; in _backend_reschedule()
821 if (be->be_parent->tunables.use_tls) { in _backend_reschedule()
830 struct timeval *flap = &be->tunables.flap; in _backend_flap_check()
1071 struct timeval tmp_time = be->tunables.read; in proxy_bevalidate_tls_handler()
1161 struct timeval tmp_time = be->tunables.read; in proxy_beconn_tls_handler()
1213 struct timeval tmp_time = be->tunables.read; in proxy_beconn_handler()