mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Minor naming and control flow changes to satisfy golint
This commit is contained in:
@@ -15,7 +15,7 @@ func (a *agent) asyncDequeue() {
|
||||
select {
|
||||
case <-a.shutdown:
|
||||
return
|
||||
case <-a.asyncRam():
|
||||
case <-a.asyncRAM():
|
||||
// TODO we _could_ return a token here to reserve the ram so that there's
|
||||
// not a race between here and Submit but we're single threaded
|
||||
// dequeueing and retries handled gracefully inside of Submit if we run
|
||||
|
||||
Reference in New Issue
Block a user