Added comment
This commit is contained in:
parent
e761573ee2
commit
4b10e30d81
@ -109,6 +109,7 @@ class IMAPServer:
|
|||||||
|
|
||||||
|
|
||||||
def releaseconnection(self, connection):
|
def releaseconnection(self, connection):
|
||||||
|
"""Releases a connection, returning it to the pool."""
|
||||||
self.connectionlock.acquire()
|
self.connectionlock.acquire()
|
||||||
self.assignedconnections.remove(connection)
|
self.assignedconnections.remove(connection)
|
||||||
self.availableconnections.append(connection)
|
self.availableconnections.append(connection)
|
||||||
|
Loading…
Reference in New Issue
Block a user