mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-22 04:24:15 +00:00
py-i2phosts-checker: probe activated hosts firstly
This commit is contained in:
parent
a0bba86169
commit
036cddad48
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user