Skip to content

Commit 790930d

Browse files
committed
feat: successful test with 10 asynchronous requests (10x faster)
1 parent f924d4b commit 790930d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const (
1313
BASE = "https://api-publica.datajud.cnj.jus.br/api_publica_"
1414
AUTH = "APIKey cDZHYzlZa0JadVREZDJCendQbXY6SkJlTzNjLV9TRENyQk1RdnFKZGRQdw=="
1515
METHOD = "POST"
16-
WORKERS = 1
16+
WORKERS = 10
1717
FILENAME = "response"
1818
FOLDER = "data"
1919
FILEPATH = "data/requests.csv"

0 commit comments

Comments
 (0)