Skip to content

Commit 8fdbdae

Browse files
committed
set prefetch count to 1
1 parent a2fdf79 commit 8fdbdae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/worker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func main() {
3535
failOnError(err, "Failed to declare a queue")
3636

3737
err = ch.Qos(
38-
3, // prefetch count
38+
1, // prefetch count
3939
0, // prefetch size
4040
false, // global
4141
)

0 commit comments

Comments
 (0)