aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2025-05-29 00:55:45 +0100
committerGravatar Joe Banks <[email protected]>2025-05-29 00:55:45 +0100
commitef5772c531ec7812543b90f1f6e1cc7ec72200e0 (patch)
treec94e875e33b25905fe57910343174352cce8c3aa
parentCorrect ignores in gitignore for generated files (diff)
Add note to take PSL parsing out of processHEADmaster
-rw-r--r--lib/util/public_suffix.ex4
1 files changed, 4 insertions, 0 deletions
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