thesis/listings/event_handler_main.py
2018-12-03 22:39:46 +01:00

16 lines
398 B
Python

fsm = FSMManagingEventHandler( # TFW FSM
key='fsm',
fsm_type=TestFSM
)
ide = IdeEventHandler( # Web IDE backend
key='ide',
allowed_directories=[TFWENV.IDE_WD, TFWENV.WEBSERVICE_DIR],
directory=TFWENV.IDE_WD,
exclude=['*.pyc']
)
logmonitor = LogMonitoringEventHandler( # Sends live logs to frontend
key='logmonitor',
process_name='webservice',
log_tail=2000
)