Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
injoyai committed Nov 6, 2023
1 parent f759329 commit 0d34216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io_i_closer.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ func (this *ICloser) MustDial(ctx context.Context) (ReadWriteCloser, string) {
if t > this.redialMaxTime {
t = this.redialMaxTime
}
this.Logger.Errorf("[%s] %v,等待%d秒重试", this.GetKey(), dealErr(err), t/time.Second)
this.Logger.Errorf("[%s] %v,等待%d秒重试", key, dealErr(err), t/time.Second)
timer.Reset(t)
}
}
Expand Down

0 comments on commit 0d34216

Please sign in to comment.