Merge pull request #1963 from Sir3lit/maxconn
Add Max Concurrent Connections for database users
This commit is contained in:
commit
72ecac5236
12 changed files with 68 additions and 7 deletions
|
@ -25,6 +25,7 @@ class StoreServerDatabaseRequest extends AdminFormRequest
|
|||
$query->where('database_host_id', $this->input('database_host_id') ?? 0);
|
||||
}),
|
||||
],
|
||||
'max_connections' => 'nullable',
|
||||
'remote' => 'required|string|regex:/^[0-9%.]{1,15}$/',
|
||||
'database_host_id' => 'required|integer|exists:database_hosts,id',
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue