diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-06-04 16:20:01 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-06-06 16:55:01 +0200 |
commit | 393d9aae74862e14e80223e44880f4f706c88d6f (patch) | |
tree | 37e2db4534c2c5f3f29672228e88543d1895c74f /lib/public | |
parent | f13c2b20b6fa2048b30687aa3a85e706b70f2500 (diff) | |
download | nextcloud-server-393d9aae74862e14e80223e44880f4f706c88d6f.tar.gz nextcloud-server-393d9aae74862e14e80223e44880f4f706c88d6f.zip |
Add a hint that some indexes are not added yet
* gives the admin a chance to discover the missing indexes and improve the performance of the instance without digging through the manual
* nicely integrated in the setup checks where this kind of hints belong to
* also adds an option to integrate this from an app based on events
* fix style of setting warnings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IDBConnection.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/IDBConnection.php b/lib/public/IDBConnection.php index 024e759de6e..4e450eae736 100644 --- a/lib/public/IDBConnection.php +++ b/lib/public/IDBConnection.php @@ -47,6 +47,7 @@ use OCP\DB\QueryBuilder\IQueryBuilder; interface IDBConnection { const ADD_MISSING_INDEXES_EVENT = self::class . '::ADD_MISSING_INDEXES'; + const CHECK_MISSING_INDEXES_EVENT = self::class . '::CHECK_MISSING_INDEXES'; /** * Gets the QueryBuilder for the connection. |