1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

index host relationship to speed up fact_versions api endpoint

This commit is contained in:
Chris Meyers 2015-06-04 15:15:56 -04:00
parent e56e17bcbe
commit a0b6d3f099

View File

@ -182,6 +182,7 @@ class FactVersion(Document):
meta = { meta = {
'indexes': [ 'indexes': [
'-timestamp', '-timestamp',
'module' 'module',
'host',
] ]
} }