From 036cddad48355d26e6f510272d921edd95671a70 Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Sun, 7 Nov 2010 22:02:43 +0000 Subject: [PATCH] py-i2phosts-checker: probe activated hosts firstly --- py-i2phosts-checker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-i2phosts-checker b/py-i2phosts-checker index 2eea429..a860aae 100755 --- a/py-i2phosts-checker +++ b/py-i2phosts-checker @@ -68,7 +68,7 @@ else: sam_addr = '127.0.0.1:7656' S = samclasses.BaseSession(sam_addr) -all_hosts = i2phost.objects.all() +all_hosts = i2phost.objects.all().order_by('-activated', '-last_seen') log.info('starting check') for host in all_hosts: log.debug('%s: testing...', host.name)