graph-rework-2
noah metz 2023-07-03 19:19:23 -06:00
parent 543aec054e
commit 81945ab191
1 changed files with 1 additions and 0 deletions

@ -727,6 +727,7 @@ func GQLSubscribeFn(p graphql.ResolveParams, fn func(GraphSignal, graphql.Resolv
c := make(chan interface{}) c := make(chan interface{})
go func(c chan interface{}, server *GQLThread) { go func(c chan interface{}, server *GQLThread) {
ctx.Log.Logf("gqlws", "GQL_SUBSCRIBE_THREAD_START")
sig_c := server.UpdateChannel(0) sig_c := server.UpdateChannel(0)
for { for {
val, ok := <- sig_c val, ok := <- sig_c