diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-12-22 23:01:20 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-12-22 23:01:20 (GMT) |
commit | 280ddca779f66d601f515af815dcb6640d32cc7b (patch) | |
tree | 69b5405788c497262da13af950031ef4d0759837 /src/helsinki.at/rhimport | |
parent | 7444aeb57313fd28ad04182d50252a76e394c261 (diff) |
rddb channels are now buffered
Diffstat (limited to 'src/helsinki.at/rhimport')
-rw-r--r-- | src/helsinki.at/rhimport/rddb.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/helsinki.at/rhimport/rddb.go b/src/helsinki.at/rhimport/rddb.go index bb481f4..514abdf 100644 --- a/src/helsinki.at/rhimport/rddb.go +++ b/src/helsinki.at/rhimport/rddb.go @@ -339,11 +339,11 @@ func NewRdDb(conf *Config) (db *RdDb, err error) { db.quit = make(chan bool) db.done = make(chan bool) db.password_cache = make(map[string]string) - db.getPasswordChan = make(chan getPasswordRequest) - db.getGroupOfCartChan = make(chan getGroupOfCartRequest) - db.getShowInfoChan = make(chan getShowInfoRequest) - db.checkMusicGroupChan = make(chan checkMusicGroupRequest) - db.getMusicInfoChan = make(chan getMusicInfoRequest) + db.getPasswordChan = make(chan getPasswordRequest, 10) + db.getGroupOfCartChan = make(chan getGroupOfCartRequest, 10) + db.getShowInfoChan = make(chan getShowInfoRequest, 10) + db.checkMusicGroupChan = make(chan checkMusicGroupRequest, 10) + db.getMusicInfoChan = make(chan getMusicInfoRequest, 10) if err = db.init(conf); err != nil { return |