mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
wip
This commit is contained in:
@@ -85,7 +85,7 @@ class ControlMessageController implements MessageComponentInterface
|
||||
|
||||
$connectionInfo = $this->connectionManager->storeConnection($data->host, $data->subdomain, $connection);
|
||||
|
||||
$this->connectionManager->limitConnectionLength($connectionInfo, config('expose.admin.maximum_session_length'));
|
||||
$this->connectionManager->limitConnectionLength($connectionInfo, config('expose.admin.maximum_connection_length'));
|
||||
|
||||
$connection->send(json_encode([
|
||||
'event' => 'authenticated',
|
||||
|
||||
@@ -14,16 +14,16 @@ return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Maximum session length
|
||||
| Maximum connection length
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If you want to limit the amount of time that a single connection can
|
||||
| stay connected to the expose server, you can specify the maximum
|
||||
| session length in minutes here. A maximum length of 0 means that
|
||||
| connection length in minutes here. A maximum length of 0 means that
|
||||
| clients can stay connected as long as they want.
|
||||
|
|
||||
*/
|
||||
'maximum_session_length' => 0,
|
||||
'maximum_connection_length' => 0,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user