This commit is contained in:
Marcel Pociot
2020-05-03 00:24:51 +02:00
parent 72d33b1b70
commit 1c38ab71b6
2 changed files with 4 additions and 4 deletions

View File

@@ -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',

View File

@@ -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,
/*
|--------------------------------------------------------------------------