Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Send rtc_stream.update with closing time when the backend goes offline #158

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

feymartynov
Copy link
Contributor

No description provided.

@manifest
Copy link
Member

Why don't use relation between backend and related streams to delete them automatically? Why do we close (changing their time) these streams manually?

@feymartynov
Copy link
Contributor Author

It does delete them by foreign key. That's why there's no point of updating the stream in the DB since it's gonna be deleted in later in the same transaction. It's enough just to set the closing date in the transient object to send within the event.

@feymartynov feymartynov merged commit 7a0378c into master Sep 28, 2020
@feymartynov feymartynov deleted the feature/ULMS-790 branch September 28, 2020 15:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants