oc-scheduler -> scheduling + logs
This commit is contained in:
@@ -3,6 +3,7 @@ package utils
|
||||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
@@ -177,6 +178,7 @@ func Notify[T interface{}](mu *sync.RWMutex, registry map[string][]chan T, key s
|
||||
|
||||
func Propalgate(peerID string, message tools.PropalgationMessage) {
|
||||
b, _ := json.Marshal(message)
|
||||
fmt.Println("Propalgate")
|
||||
tools.NewNATSCaller().SetNATSPub(tools.PROPALGATION_EVENT, tools.NATSResponse{
|
||||
FromApp: "oc-scheduler",
|
||||
Datatype: -1,
|
||||
|
||||
Reference in New Issue
Block a user