Process remote events in their own goroutines

This commit is contained in:
Aaron Lindsay 2013-09-05 19:59:45 -04:00
parent d97b424e98
commit fcf61701cc

View File

@ -315,7 +315,7 @@ func ProcessRemoteEvent(globals AsinkGlobals, event *asink.Event) {
func ProcessRemoteEvents(globals AsinkGlobals, eventChan chan *asink.Event) { func ProcessRemoteEvents(globals AsinkGlobals, eventChan chan *asink.Event) {
for event := range eventChan { for event := range eventChan {
ProcessRemoteEvent(globals, event) go ProcessRemoteEvent(globals, event)
} }
} }