Changeset 35

Show
Ignore:
Timestamp:
07/23/09 06:46:31 (12 months ago)
Author:
davux
Message:

Add a TODO about a possible performance issue related to how we use threads.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • foreignclient.py

    r33 r35  
    5454        ''' 
    5555        #TODO: Don't crash because of invalid accounts, cf. ticket #5. 
     56        #TODO: In the future, we might want to call start() earlier for 
     57        #      performance reasons: until we call start(), the process is 
     58        #      blocking. 
    5659        debug('Registering disconnect handler') 
    5760        self.cnx.RegisterDisconnectHandler(self.onDisconnect) 
  • pizzjacomponent.py

    r34 r35  
    6363    def getClient(self, jid, resource): 
    6464        '''Return the client for the given subscriber JID and resource group. 
    65            Create it if needed. 
     65           Create it if needed. 
    6666        ''' 
    6767        debug('Getting client for %s/%s' % (jid, resource))