From e5c4069cfcc734813ea29c19ecccb3e12b385a8b Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Mon, 3 Jul 2023 19:22:32 -0600 Subject: [PATCH] fix --- gql_graph.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gql_graph.go b/gql_graph.go index 323efa6..bd3e68e 100644 --- a/gql_graph.go +++ b/gql_graph.go @@ -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 {