fix silly naming problem
This commit is contained in:
parent
6e4e8907e7
commit
de2e9beed2
@ -312,6 +312,7 @@ def ident():
|
|||||||
sleep(0.058)
|
sleep(0.058)
|
||||||
#Twisted is not thread safe. We need to call this in the reactor main thread
|
#Twisted is not thread safe. We need to call this in the reactor main thread
|
||||||
reactor.callFromThread(systems[system].send_system,pkt)
|
reactor.callFromThread(systems[system].send_system,pkt)
|
||||||
|
#systems[system].send_system(pkt)
|
||||||
|
|
||||||
def mysql_config_check():
|
def mysql_config_check():
|
||||||
logger.debug('(MYSQL) Periodic config check')
|
logger.debug('(MYSQL) Periodic config check')
|
||||||
@ -1246,8 +1247,8 @@ if __name__ == '__main__':
|
|||||||
# Ident
|
# Ident
|
||||||
#This runs in a thread so as not to block the reactor
|
#This runs in a thread so as not to block the reactor
|
||||||
ident_task = task.LoopingCall(threadIdent)
|
ident_task = task.LoopingCall(threadIdent)
|
||||||
ident = ident_task.start(900)
|
identa = ident_task.start(30)
|
||||||
ident.addErrback(loopingErrHandle)
|
identa.addErrback(loopingErrHandle)
|
||||||
|
|
||||||
#Mysql config checker
|
#Mysql config checker
|
||||||
#This runs in a thread so as not to block the reactor
|
#This runs in a thread so as not to block the reactor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user