Changeset 1381


Ignore:
Timestamp:
02/22/07 09:38:51 (6 years ago)
Author:
mglb1
Message:

Trigger the maintenance event in a separate thread to the mainloop to avoid
maintenance operations which block from preventing the mainloop from handling
new incoming connections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccsd/trunk/crcnetd/_utils/ccsd_server.py

    r1355 r1381  
    335335        log_debug(str) 
    336336 
    337     # Trigger the maintenance event 
    338     triggerEvent(ADMIN_SESSION_ID, "maintenance") 
     337    # Trigger the maintenance event, in a thread so that any blocking 
     338    # operations don't halt the mainloop! 
     339    initThread(triggerEvent, ADMIN_SESSION_ID, "maintenance") 
    339340 
    340341##################################################################### 
Note: See TracChangeset for help on using the changeset viewer.