supabase / supavisor

A cloud-native, multi-tenant Postgres connection pooler.
https://supabase.github.io/supavisor/
Apache License 2.0
1.65k stars 54 forks source link

chore: reduce `Access` calls #370

Open hauleth opened 1 week ago

hauleth commented 1 week ago

What kind of change does this PR introduce?

Current implementation calls Access.get/2 twice. Instead of using Access.get/2 at all, we can use pattern matching.