Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/s/h/shiva-HEAD/analyzer/core/shivapushtodb.py   shiva(Download)
 
    host = server.shivaconf.get('hpfeeds', 'host')
    port = server.shivaconf.getint('hpfeeds', 'port')
    ident = server.shivaconf.get('hpfeeds', 'ident')
    secret = server.shivaconf.get('hpfeeds', 'secret')

src/s/h/shiva-HEAD/analyzer/core/shivaaddnewrecord.py   shiva(Download)
 
    if relay_enabled is True:
        relaycounter = server.shivaconf.getint('analyzer', 'globalcounter')
 
        if (int(server.QueueReceiver.totalRelay) > relaycounter):

src/s/h/shiva-HEAD/analyzer/core/shivaprocessold.py   shiva(Download)
 
            if relay_enabled is True:
                relaycounter = server.shivaconf.getint('analyzer', 'globalcounter')    
 
                if (int(server.QueueReceiver.totalRelay) > relaycounter):

src/s/h/shiva-HEAD/analyzer/core/shivascheduler.py   shiva(Download)
def schedule():
    sched = Scheduler()
    duration = server.shivaconf.getint('analyzer', 'schedulertime')
    sched.add_interval_job(resetcounter, minutes=duration)
    sched.start()