www/snapper/pyapp/app/create_app.py
def SessionTimerThread (name, timer):
    """ timer thread to recycle session resource: pam handle, session info
    """
    try:
        logger.debug("pid %d thread %s started" % (os.getpid(), name) )
        while True:
            #logger.debug("thread %d %s: %s" % (os.getpid(), name, time.ctime(time.time())) )
            _connector.scan_shm_session_expires()
            _connector.scan_shm_session_logoff()
            _connector.refresh_topology()
            time.sleep(timer)

    except Exception as e:
        logger.warn("exception(%s): session timer thread %s exit" % (str(e), name) )
 timer thread to recycle session resource: pam handle, session info
    
timer thread to recycle session resource: pam handle, session info
timer thread to recycle session resource : pam handle session info
def SessionTimerThread (name, timer):
    try:
        logger.debug("pid %d thread %s started" % (os.getpid(), name) )
        while True:
            _connector.scan_shm_session_expires()
            _connector.scan_shm_session_logoff()
            _connector.refresh_topology()
            time.sleep(timer)
    except Exception as e:
        logger.warn("exception(%s): session timer thread %s exit" % (str(e), name) )
def SessionTimerThread ( name , timer ) : try : logger . debug ( "pid %d thread %s started" % ( os . getpid ( ) , name ) ) while True : _connector . scan_shm_session_expires ( ) _connector . scan_shm_session_logoff ( ) _connector . refresh_topology ( ) time . sleep ( timer ) except Exception as e : logger . warn ( "exception(%s): session timer thread %s exit" % ( str ( e ) , name ) )
timer thread to recycle session resource: pam handle, session info
timer thread to recycle session resource : pam handle session info
""" timer thread to recycle session resource: pam handle, session info
    """ #logger.debug("thread %d %s: %s" % (os.getpid(), name, time.ctime(time.time())) )
name
timer