sunlightlabs / django-locksmith

django utilities for shared api authentication & log aggregation
BSD 3-Clause "New" or "Revised" License
27 stars 5 forks source link

key push takes order of magnitude less time when `ENABLE_LOCKSMITH` is `False` #14

Open paultag opened 9 years ago

paultag commented 9 years ago

No idea why. I'm guessing it uses locksmith to check the DB before writing

If this is unneeded overhead (keys loaded!), we should somehow magic that into always being that fast If it's needed overhead,(keys pushed aren't checked) we should prevent loading while ENABLE_LOCKSMITH is False