distributed research fully operationnal
This commit is contained in:
@@ -2,6 +2,7 @@ package infrastructure
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"slices"
|
||||
|
||||
oclib "cloud.o-forge.io/core/oc-lib"
|
||||
@@ -58,6 +59,7 @@ func ListenNATS() {
|
||||
}
|
||||
p, err := resources.ToResource(int(resp.Datatype), resp.Payload)
|
||||
if err == nil {
|
||||
fmt.Println("SearchStream", p)
|
||||
SearchStream[resp.User] <- p // TODO when do we update it in our catalog ?
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user