more buffer
authorBernhard Tittelbach <xro@realraum.at>
Tue, 27 Jan 2015 01:49:44 +0000 (01:49 +0000)
committerBernhard Tittelbach <xro@realraum.at>
Tue, 27 Jan 2015 01:49:44 +0000 (01:49 +0000)
go/door_daemon_zmq/handle_commands.go

index a099196..3b27fff 100644 (file)
@@ -22,7 +22,7 @@ var cmdToDoorCmdHandler = map[string]DoorCmdHandler{
 // ---------- Talk with Firmware directly in response to stuff it sends ------------
 
 func WorkaroundFirmware(serial_wr chan string) (in chan [][]byte) {
-       in = make(chan [][]byte, 1)
+       in = make(chan [][]byte, 5)
        go func() {
                var last_state_time time.Time
                var last_door_state string