X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=go%2Fr3-eventbroker_zmq%2Fmain.go;h=492e7fb01c31b6231e229b06f77f078f48483ca5;hb=1e8dcdb177ed0616d35ce6777ef920171dadb6ec;hp=8ea5fe4563a2b4a271a43a46135cc6f667430d0f;hpb=59b5b0d11e44853e93a5a66dc66133254f844753;p=svn42.git diff --git a/go/r3-eventbroker_zmq/main.go b/go/r3-eventbroker_zmq/main.go index 8ea5fe4..492e7fb 100644 --- a/go/r3-eventbroker_zmq/main.go +++ b/go/r3-eventbroker_zmq/main.go @@ -3,8 +3,6 @@ package main import ( - "fmt" - "os" "flag" //~ "time" pubsub "github.com/tuxychandru/pubsub" @@ -69,7 +67,7 @@ func main() { go BrainCenter(zmqctx, brain_listen_addr_, store_these_events_chan) go MetaEventRoutine_Movement(ps, 10, 20, 10) - go MetaEventRoutine_Presence(ps) + go MetaEventRoutine_Presence(ps, 21, 200) // --- get update on most recent status --- answ := ZmqsAskQuestionsAndClose(zmqctx, door_cmd_addr_, [][][]byte{[][]byte{[]byte("status")}})