Skip to content

Commit 2097940

Browse files
committed
clarify limitation in monoprocess backend doc
1 parent 787a233 commit 2097940

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/monoprocess/monoprocess.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ type monoprocessBackend struct {
2727
// in case the backend and worker are running in the same process. This backend
2828
// uses channels to notify the worker every time there is a new task ready to be
2929
// 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.
30+
// IMPORTANT: Only use this backend when the backend and worker are running in
31+
// the same process and there is only one worker.
3232
func NewMonoprocessBackend(b backend.Backend) *monoprocessBackend {
3333
mb := &monoprocessBackend{
3434
Backend: b,

0 commit comments

Comments
 (0)