From 2e7aa519a6af801522783c4d1069a00f1fa272f8 Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 15 Jan 2025 00:19:34 +0000 Subject: [PATCH] slow down fetches to be kind to others --- lib/ppr_api/fetcher.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ppr_api/fetcher.ex b/lib/ppr_api/fetcher.ex index 1679634..0939a47 100644 --- a/lib/ppr_api/fetcher.ex +++ b/lib/ppr_api/fetcher.ex @@ -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.