mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
Update slow.md
This commit is contained in:
parent
eb8ed79218
commit
3fc1922e98
@ -200,7 +200,7 @@ public class SlowConsumerListener {
|
|||||||
|
|
||||||
if len(msgs) == 3:
|
if len(msgs) == 3:
|
||||||
# Head of line blocking on other messages caused
|
# Head of line blocking on other messages caused
|
||||||
# by single message proccesing taking long...
|
# by single message processing taking too long...
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
|
|
||||||
await nc.subscribe("updates", cb=cb, pending_msgs_limit=5)
|
await nc.subscribe("updates", cb=cb, pending_msgs_limit=5)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user