Skip to content

CB-4686 add new client event for updating session info#2462

Merged
alexander-skoblikov merged 27 commits intodevelfrom
CB-4686-migrate-from-scheduled-touch-session-api-call-to-a-websocket-event
Mar 27, 2024
Merged

CB-4686 add new client event for updating session info#2462
alexander-skoblikov merged 27 commits intodevelfrom
CB-4686-migrate-from-scheduled-touch-session-api-call-to-a-websocket-event

Conversation

@yagudin10
Copy link
Copy Markdown
Member

No description provided.

@@ -135,6 +137,26 @@ export class SessionEventSource implements IServerEventEmitter<ISessionEvent, IS

disconnect() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://rxjs.dev/api/webSocket/webSocket - the rxjs websocket is tried to reconnect cause there was some subscriptions

Comment thread webapp/packages/core-root/src/SessionEventSource.ts Outdated
Comment thread webapp/packages/core-root/src/SessionEventSource.ts Outdated
Comment thread webapp/packages/core-root/src/SessionResource.ts Outdated
@sergeyteleshev sergeyteleshev requested a review from Wroud March 19, 2024 10:54
s.teleshev and others added 2 commits March 19, 2024 11:59
@yagudin10 yagudin10 marked this pull request as ready for review March 19, 2024 12:55

const sessionState: SessionState = {
...this.data,
valid: event?.isValid ?? this.data?.valid,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like this.data is defined here

Comment thread webapp/packages/core-root/src/SessionResource.ts Outdated
Comment thread server/bundles/io.cloudbeaver.server/schema/service.events.graphqls
@sergeyteleshev sergeyteleshev requested a review from Wroud March 19, 2024 15:54
@alexander-skoblikov alexander-skoblikov merged commit ad37e89 into devel Mar 27, 2024
@yagudin10 yagudin10 deleted the CB-4686-migrate-from-scheduled-touch-session-api-call-to-a-websocket-event branch April 18, 2024 08:02
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.

7 participants