graph-rework-2
noah metz 2023-07-03 19:22:32 -06:00
parent 81945ab191
commit e5c4069cfc
1 changed files with 2 additions and 1 deletions

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