|
|
@ -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
|
|
|
|