Skip to content

multiple users#599

Merged
epoberezkin merged 19 commits intomasterfrom
users
Jan 26, 2023
Merged

multiple users#599
epoberezkin merged 19 commits intomasterfrom
users

Conversation

@spaced4ndy
Copy link
Copy Markdown
Collaborator

No description provided.

epoberezkin and others added 19 commits January 11, 2023 17:47
* users table, isolate traffic sessions by users or by queues

* remove extra indices

* corrections

Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>

Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
* subscribe users in different sessions

* remove comments

* include userId to rcv queue map key

* use hash of userId[:entityId] as SOCKS proxy username
… ID (#607)

* support switching session mode, transport session now uses connection ID

* refactor
…essages from SMP clients to agent (#608)

* execute asynchronous commands for correct users

* pass transport session to message processing to avoid race condition

* account for server changes when determining unused servers

* enable one test

* enable all tests, remove log
* batched queue deletion

* only re-connect client on subscribe errors, not in all batch commands

* add test, fix

* correction

Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>

* refactor

Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
* async batch connection deletion

* delete user record with connections, async connection deletion

* updates

* update query
…asynchronously (#619)

* events sent by the agent when queue, connection and user are deleted asynchronously

* update test

* more tests

* add user tests

* queries

Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>

Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
…ons (#620)

* refactor functions operating on single connections using batch functions

* update tests
* increase database transaction timeout, add test for user deletion

* more test logs
@epoberezkin epoberezkin marked this pull request as ready for review January 25, 2023 23:37
@epoberezkin epoberezkin self-requested a review as a code owner January 25, 2023 23:37
@epoberezkin epoberezkin merged commit d1b4fa8 into master Jan 26, 2023
@epoberezkin epoberezkin deleted the users branch January 26, 2023 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants