Skip to content

Commit

Permalink
slow down fetches to be kind to others
Browse files Browse the repository at this point in the history
  • Loading branch information
brianflanagan committed Jan 15, 2025
1 parent f6cdbe5 commit 2e7aa51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ppr_api/fetcher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule PprApi.Fetcher do
alias NimbleCSV.RFC4180, as: CSV

@base_url "https://propertypriceregister.ie/website/npsra/ppr/npsra-ppr.nsf/Downloads/"
@wait_time 2_000
@wait_time 5_000

@doc """
Fetches from PPR, month by month, from fetch.starts_on up to the current month.
Expand Down

0 comments on commit 2e7aa51

Please sign in to comment.