Merge pull request #19530 from bigbluebutton/revert-19523-middleware-stop-retransmitting-mutations
Revert "Prevent graphql-middlware from re-transmitting Mutations"
This commit is contained in:
commit
a288d84e1e
@ -96,8 +96,6 @@ RangeLoop:
|
||||
jsonPatchSupported = true
|
||||
}
|
||||
|
||||
//Not storing Mutations because they will not be retransmitted in case of reconnection
|
||||
if messageType != common.Mutation {
|
||||
browserConnection.ActiveSubscriptionsMutex.Lock()
|
||||
browserConnection.ActiveSubscriptions[queryId] = common.GraphQlSubscription{
|
||||
Id: queryId,
|
||||
@ -113,7 +111,6 @@ RangeLoop:
|
||||
// log.Tracef("Current queries: %v", browserConnection.ActiveSubscriptions)
|
||||
browserConnection.ActiveSubscriptionsMutex.Unlock()
|
||||
}
|
||||
}
|
||||
|
||||
if fromBrowserMessageAsMap["type"] == "stop" {
|
||||
var queryId = fromBrowserMessageAsMap["id"].(string)
|
||||
|
Loading…
Reference in New Issue
Block a user