File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -426,12 +426,14 @@ func (c *RetryClient) Resubscribe(ctx context.Context) {
426426 oldSubEstablished := append ([]Subscription {}, c .subEstablished ... )
427427 c .subEstablished = nil
428428
429+ println ("exec Resubscribe" )
429430 if len (oldSubEstablished ) > 0 {
430431 for _ , sub := range oldSubEstablished {
431432 c .subscribe (ctx , true , cli , sub )
432433 }
433434 }
434435 })
436+ println ("queued Resubscribe" )
435437}
436438
437439// Retry all queued publish/subscribe requests.
@@ -440,6 +442,7 @@ func (c *RetryClient) Retry(ctx context.Context) {
440442 oldRetryQueue := append ([]retryFn {}, c .retryQueue ... )
441443 c .retryQueue = nil
442444
445+ println ("exec Retry" )
443446 for _ , retry := range oldRetryQueue {
444447 c .muStats .Lock ()
445448 c .stats .TotalRetries ++
@@ -453,6 +456,7 @@ func (c *RetryClient) Retry(ctx context.Context) {
453456 }
454457 }
455458 })
459+ println ("queued Retry" )
456460}
457461
458462// Stats returns retry stats.
You can’t perform that action at this time.
0 commit comments