[Bug 1842043] [NEW] The Nonce model needs an index
Launchpad Bug Tracker
1842043 at bugs.launchpad.net
Fri Aug 30 12:26:52 UTC 2019
You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):
The Nonce model needs a (ideally unique) index on (token_key,
consumer_key, key).
Aside from granting there to be only one entry for each combination, the
index will speed up search for nonces when API calls are performed.
Given Nonce entries are never deleted, the table can grow quite big, and
doing a full scan to find if there's a matching entry becomes
increasingly more costly.
** Affects: django-piston3 (Ubuntu)
Importance: Undecided
Status: In Progress
** Tags: patch
--
The Nonce model needs an index
https://bugs.launchpad.net/bugs/1842043
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list