Scheduler: bump channels buffer size to some magic prime number value

This commit is contained in:
Julien Vehent 2013-09-10 18:24:41 -04:00
Родитель 3716983d9a
Коммит 7792a95ee1
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -30,11 +30,11 @@ var MONGOURI string = "172.21.2.143"
// AMQP broker. It also launches the goroutines.
func main() {
termChan := make(chan bool)
actionNewChan := make(chan string)
cmdLaunchChan := make(chan string)
cmdInFlightChan := make(chan string)
cmdDoneChan := make(chan string)
actionDoneChan := make(chan string)
actionNewChan := make(chan string, 17)
cmdLaunchChan := make(chan string, 67)
cmdInFlightChan := make(chan string, 67)
cmdDoneChan := make(chan string, 43)
actionDoneChan := make(chan string, 11)
// Setup connection to MongoDB backend database
mgofd, err := mgo.Dial(MONGOURI)