Skip to content

Commit

Permalink
Increase order state wait time to 60 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
evsamsonov committed Aug 22, 2024
1 parent 6f13acc commit 12a04f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinkoff.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ func (t *Tinkoff) getExecutedOrderState(
ctx context.Context,
orderID string,
) (orderState *investgo.GetOrderStateResponse, err error) {
ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
ctx, cancel := context.WithTimeout(ctx, 60*time.Second)
defer cancel()

for {
Expand Down

0 comments on commit 12a04f2

Please sign in to comment.