From d0aa865c1259c827699689c12049acd79c95fc82 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Tue, 27 Jan 2015 01:49:44 +0000 Subject: [PATCH] more buffer --- go/door_daemon_zmq/handle_commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/door_daemon_zmq/handle_commands.go b/go/door_daemon_zmq/handle_commands.go index a099196..3b27fff 100644 --- a/go/door_daemon_zmq/handle_commands.go +++ b/go/door_daemon_zmq/handle_commands.go @@ -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 -- 1.7.10.4