-
Notifications
You must be signed in to change notification settings - Fork 10
PatchConnectionLimit
Robin B edited this page Mar 13, 2020
·
1 revision
Modify the number of websocket connections a user can have opened from the same IP simultaneously.
Key | Value |
---|---|
Content-Type | application/x-www-form-urlencoded |
Key | Description | Format | Example |
---|---|---|---|
connections | The number of simultaneous websocket connections allowed from the same IP | Integer | 2 |
Set -1
as value for connections
to disable the limit and allow unlimited connections.
Otherwise, connections
must be any integer above 0.
Key | Description | Format | Example |
---|---|---|---|
--- | ----------- | ------ | ------- |
/admin/config/updateinterval
with:
- connections: 2
Output:
{
"code": 200,
"message": "Connection limit successfully updated",
"connections": 2
}