Skip to content

Commit

Permalink
fix(tgc): possible issue. #158
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed May 17, 2023
1 parent 6d964c6 commit 88bee5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/internal/tgc/tgc.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func New(ctx context.Context, login bool, middlewares ...telegram.Middleware) (*
},
Device: consts.Device,
SessionStorage: storage.NewSession(kvd, login),
RetryInterval: 5 * time.Second,
MaxRetries: 5,
RetryInterval: 1 * time.Second,
MaxRetries: 15,
DialTimeout: 10 * time.Second,
Middlewares: middlewares,
Clock: _clock,
Expand Down

0 comments on commit 88bee5e

Please sign in to comment.