Skip to content

Conversation

nachiketsrao
Copy link
Collaborator

Tested with Scale 2:

image

})
}
e.opCond.Signal() // Notify batch processor
e.opMutex.Unlock()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use a channel as a channel (maybe even a buffered channel) instead of using a list. I think each executor's queue in bacher is a channel and not a list. You can keep checking the size of the channel to know when its upto batch size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants