MDL-60583 webservice: Add index to improve token lookup performance

Without this index every webservice call will do a full table scan
when it tries to validate a token. On a busy site with many tokens
this adds unnecessary load to the database.
This commit is contained in:
Neill Magill 2020-06-25 09:11:50 +01:00
parent c11e2517a7
commit b6c7a25d60
3 changed files with 17 additions and 2 deletions

View file

@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2020062600.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2020062600.01; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.
$release = '4.0dev (Build: 20200626)'; // Human-friendly version name