> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/connectivity/load-balancer/how-tos/adjust-concurrent-connections-and-timeout.md).

# Adjust concurrent connections and timeout

Adjust concurrent connections and timeout values to tweak your load balancer to suit your needs.

***

## Adjust concurrent connections and timeout using the control panel

Under the **Advanced** tab of the load balancer, you can adjust the number of concurrent connections that the listener should be able to handle. Use the slider to adjust the maximum number of connections the load balancer can manage.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2F5BJ8wQqKVeEmsPVw6gvJ%2Fload-balancer-advanced.png?alt=media&amp;token=a43f45ba-1000-4f88-b5f6-5db83f32d3f1" alt=""><figcaption></figcaption></figure>

If you have multiple listeners, you can adjust them individually under this tab. You can also configure timeout values for the load balancer here.

*Client Timeout* is the maximum time in seconds that the load balancer waits for the client (e.g., the web browser).

*Connect Timeout* is the time in seconds for establishing TCP connections.

*Response Timeout* is the maximum time in seconds that the load balancer waits for a response from the target (server).

## Adjust concurrent connections and timeout using the API

Use the [loadbalancer/editfrontend](https://github.com/GleSYS/API-docs/wiki/API-Documentation#loadbalancereditfrontend) endpoint of the [API](/platform/control-panel/api.md) to edit the client timeout and the maximum number of connections. Use the [loadbalancer/editbackend](https://github.com/GleSYS/API-docs/wiki/API-Documentation#loadbalancereditbackend) endpoint to edit the connect timeout and response timeout.
