aboutsummaryrefslogtreecommitdiffstats
path: root/les/execqueue.go
Commit message (Collapse)AuthorAgeFilesLines
* les: fix goroutine leak in execQueue (#14480)Felix Lange2017-05-171-30/+56
| | | | | | | | | | | execQueue used an atomic counter to track whether the queue had been closed, but the checking the counter didn't happen because the queue was blocked on its channel. Fix it by using a condition variable instead of sync/atomic. I tried an implementation based on channels first, but it was hard to make it reliable. quit now waits for the queue loop to exit.
* les: implement request distributor, fix blocking issues (#3660)Felföldi Zsolt2017-03-231-0/+71
* les: implement request distributor, fix blocking issues * core: moved header validation before chain mutex lock