From ef5772c531ec7812543b90f1f6e1cc7ec72200e0 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Thu, 29 May 2025 00:55:45 +0100 Subject: Add note to take PSL parsing out of process --- lib/util/public_suffix.ex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/util/public_suffix.ex b/lib/util/public_suffix.ex index 62f015e..f5ed89c 100644 --- a/lib/util/public_suffix.ex +++ b/lib/util/public_suffix.ex @@ -85,6 +85,10 @@ defmodule Lithium.Util.PublicSuffix do end end + # XXX: Actually, doing this in a process is a silly idea because we will + # process bottleneck. No reason this can't just be called directly + # from the DMARC module. Note to myself to remove. + defp get_od_for_domain(domain, public_suffix_list) do # x.y.z.jb3.dev -> jb3.dev -- cgit v1.2.3