1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Merge pull request #157 from iborodikhin/master

Little optimization of plugin
This commit is contained in:
Kenyon Ralph 2012-07-25 12:25:20 -07:00
commit be42c3894b

View file

@ -62,6 +62,7 @@ else:
client = sphinxsearch.SphinxClient()
client.SetServer(server, port)
client.SetLimits(0, 1, 0, 0)
result = client.Query("", indexName)
docCount = result["total_found"]