File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -792,7 +792,7 @@ def shutdown(self):
792792 except ServiceError as e :
793793 # close() can raise ServiceError if the service exists with a
794794 # non-zero return code. We swallow the error here as we are
795- # disposing o f the service.
795+ # disposing of the service.
796796 logger .debug (
797797 "Ignoring service error during shutdown attempt: %s (%s)" ,
798798 e ,
Original file line number Diff line number Diff line change @@ -42,6 +42,14 @@ class ServiceConnectionPool:
4242 <compier_gym.service.CompilerGymServiceConnection.close>`), it is
4343 automatically released back to the pool so that a future request for the
4444 same type of service will reuse the connection.
45+
46+ :ivar pool: A pool of service connections that are ready for use.
47+
48+ :vartype pool: Dict[ServiceConnectionCacheKey, List[CompilerGymServiceConnection]]
49+
50+ :ivar allocated: The set of service connections that are currently in use.
51+
52+ :vartype allocated: Set[CompilerGymServiceConnection]
4553 """
4654
4755 def __init__ (self ) -> None :
You can’t perform that action at this time.
0 commit comments