Closed Havvy closed 8 years ago
I just need to write two more tests (that from what I can tell, should pass with flying colors), and then decide whether I want to change whois(nickname: string, server: boolean, opts: Object)
to whois(nickname: string, opts: Object)
or not. That change is backwards incompatible, but I haven't see anybody actually use the server
boolean yet.
Fixed. Decided not to do the backwards incompatible thing here.
Issue: Various middlewares together will call
isIdentifiedAs
which does awhois
. Thatwhois
isn't saved, so it performs the whois multiple times.Solution: Caching. Naively, we could just cache for 1 second.