Skip to content

Commit

Permalink
Merge pull request #118 from ipinfo/umar/fix-csv-format
Browse files Browse the repository at this point in the history
fix csv format
  • Loading branch information
UmanShahzad authored Aug 16, 2022
2 parents d340e85 + bea6206 commit 5cd9dd7
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 72 deletions.
2 changes: 1 addition & 1 deletion ipinfo/cmd_bulk.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func cmdBulk() (err error) {
}

data, err := ii.GetIPInfoBatch(ips, ipinfo.BatchReqOpts{
TimeoutPerBatch: 60 * 30, // 30min
TimeoutPerBatch: 60 * 30, // 30min
ConcurrentBatchRequestsLimit: 20,
})
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion ipinfo/cmd_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func cmdDefault() (err error) {
}

data, err := ii.GetIPInfoBatch(ips, ipinfo.BatchReqOpts{
TimeoutPerBatch: 60 * 30, // 30min
TimeoutPerBatch: 60 * 30, // 30min
ConcurrentBatchRequestsLimit: 20,
})
if err != nil {
Expand Down
Loading

0 comments on commit 5cd9dd7

Please sign in to comment.