mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
apply review - rephrase
This commit is contained in:
@@ -991,7 +991,8 @@ func (c *client) flushClients(budget time.Duration) time.Time {
|
||||
// for how much time to spend in place flushing for this client.
|
||||
// The 'clientsKindOnly' boolean indicates whether to check kind of client
|
||||
// and pending client to run flushOutbound in flushClientsWithCheck.
|
||||
// flushOutbound could be block caller when pending client is 'stuck'
|
||||
// flushOutbound() could block the caller up to the write deadline when
|
||||
// the receiving client cannot drain data from the socket fast enough.
|
||||
func (c *client) flushClientsWithCheck(budget time.Duration, clientsKindOnly bool) time.Time {
|
||||
last := time.Now().UTC()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user