---
title: WebSocket Connection Interval
description: The interval in minutes at which WebSockets to AM are killed and reopened. This property helps ensure a balanced distribution of connections across the AM servers on the site.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.balance.websocket.interval.minutes
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.balance.websocket.interval.minutes.html
---

# WebSocket Connection Interval

The interval in minutes at which WebSockets to AM are killed and reopened. This property helps ensure a balanced distribution of connections across the AM servers on the site.

|                          |                                                                                                                                                                                                                                                                                     |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.balance.websocket.interval.minutes`                                                                                                                                                                                                                           |
| Aliases                  | `org.forgerock.openam.agents.config.balance.websocket.connection.interval.in.minutes`   Introduced in Java Agent 5.6   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 6`org.forgerock.agents.balance.websocket.interval.minutes`   Introduced in Java Agent 5.6 |
| Function                 | Profile                                                                                                                                                                                                                                                                             |
| Type                     | Integer                                                                                                                                                                                                                                                                             |
| Default                  | `30`                                                                                                                                                                                                                                                                                |
| Bootstrap property       | No                                                                                                                                                                                                                                                                                  |
| Required property        | No                                                                                                                                                                                                                                                                                  |
| Restart required         | No                                                                                                                                                                                                                                                                                  |
| Local configuration file | `AgentConfig.properties`                                                                                                                                                                                                                                                            |
| AM console               | Tab: `Global`Title: `WebSocket Connection Interval`                                                                                                                                                                                                                                 |
