Browse Source

py-i2phosts-checker: probe activated hosts firstly

pull/1/head
Hidden Z 14 years ago
parent
commit
036cddad48
  1. 2
      py-i2phosts-checker

2
py-i2phosts-checker

@ -68,7 +68,7 @@ else:
sam_addr = '127.0.0.1:7656' sam_addr = '127.0.0.1:7656'
S = samclasses.BaseSession(sam_addr) S = samclasses.BaseSession(sam_addr)
all_hosts = i2phost.objects.all() all_hosts = i2phost.objects.all().order_by('-activated', '-last_seen')
log.info('starting check') log.info('starting check')
for host in all_hosts: for host in all_hosts:
log.debug('%s: testing...', host.name) log.debug('%s: testing...', host.name)

Loading…
Cancel
Save