Skip to content

Commit 7dffa2c

Browse files
committed
change attempt count in executor
1 parent 555282a commit 7dffa2c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Samurai
2-
Tracker unit
2+
Bot for scrapping information about application from Google Play or AppStore.
33

44
/|
55
/'||
@@ -58,3 +58,10 @@ Tracker unit
5858
""==%%%%%%%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$SV"
5959
$$$$$$$$$$$$$$$$$$$$====""""
6060
"""""""""~~~~
61+
## Config
62+
63+
This app works in two modes.
64+
65+
### Google Play Tool
66+
67+
This mode scrap information from google play and has few params

internal/pkg/executor/executor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func (w *Samurai) Tick(ctx context.Context) error {
6363
roptions := []retry.Option{
6464
retry.WithContext(ctx),
6565
retry.WithFactor(1.3),
66-
retry.WithMaxAttempts(10),
66+
retry.WithMaxAttempts(4),
6767
retry.WithMaxRetryTime(time.Minute * 2),
6868
}
6969

0 commit comments

Comments
 (0)