We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 787a233 commit 2097940Copy full SHA for 2097940
backend/monoprocess/monoprocess.go
@@ -27,8 +27,8 @@ type monoprocessBackend struct {
27
// in case the backend and worker are running in the same process. This backend
28
// uses channels to notify the worker every time there is a new task ready to be
29
// worked on. Note that only one worker will be notified.
30
-// IMPORTANT: Only use this backend if the backend and worker are running in the
31
-// same process.
+// IMPORTANT: Only use this backend when the backend and worker are running in
+// the same process and there is only one worker.
32
func NewMonoprocessBackend(b backend.Backend) *monoprocessBackend {
33
mb := &monoprocessBackend{
34
Backend: b,
0 commit comments