service: add timeout config to client state

Future patches will use this per-connection timeout config
to allow setting different timeouts for each session,
based on roles.
This commit is contained in:
Piotr Sarna
2020-11-23 09:04:40 +01:00
parent 7bf0744d36
commit 7ceafda70a
5 changed files with 33 additions and 13 deletions

View File

@@ -126,7 +126,7 @@ private:
service::client_state client_state;
core_local_state(auth::service& auth_service)
: client_state(service::client_state::external_tag{}, auth_service)
: client_state(service::client_state::external_tag{}, auth_service, infinite_timeout_config)
{
client_state.set_login(auth::authenticated_user(testing_superuser));
}