mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-24 02:20:37 +00:00
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:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user