Skip to content

Commit 2fefc16

Browse files
committed
Faster tender scraping
1 parent 3fde307 commit 2fefc16

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

budgetkey_data_pipelines/pipelines/procurement/tenders/pipeline-spec.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ scraper-exemptions:
2121
input_resource: mr-gov-il-search-exemption-messages
2222
tender_type: exemptions
2323
- run: throttle
24-
# parameters:
25-
# sleep-seconds: 0.5
26-
# log-interval-seconds: 2
24+
parameters:
25+
sleep-seconds: 0.25
26+
# log-interval-seconds: 0
2727
# go over each publisher and get urls for all exemptions related to this publisher
2828
# also adds tender_type column - which is needed as all tenders are on same table
2929
- run: add_publisher_urls_resource
@@ -58,6 +58,8 @@ scraper-office:
5858
input_resource: mr-gov-il-search-office-tenders
5959
tender_type: office
6060
- run: throttle
61+
parameters:
62+
sleep-seconds: 0.25
6163
# go over each publisher and get urls for all office tenders related to this publisher
6264
# also adds tender_type column - which is needed as all tenders are on same table
6365
- run: add_publisher_urls_resource

0 commit comments

Comments
 (0)