'Locked command handler to avoid running this command more than once
simultaneously.'

@memcache_lock('kuma_feeder')
def handle_noargs(self, **options):

    log.info('Starting    to    fetch    updated    feeds')
    start = time.time()
    socket.setdefaulttimeout(settings.FEEDER_TIMEOUT)
    feeds = Feed.objects.all()
    if (not options.get('force', False)):
        feeds = feeds.filter()
    else:
        log.info('--force    option    set:    Trying    to    fetch    all    known    feeds.')
    new_entry_count = 0
    for feed in feeds:
        new_entry_count += self.update_feed(feed, **options)
    log.info(('Finished    run    in    %f    seconds    for    %d    new    entries' % ((time.time() - start), new_entry_count)))
