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):
792
792
except ServiceError as e :
793
793
# close() can raise ServiceError if the service exists with a
794
794
# non-zero return code. We swallow the error here as we are
795
- # disposing o f the service.
795
+ # disposing of the service.
796
796
logger .debug (
797
797
"Ignoring service error during shutdown attempt: %s (%s)" ,
798
798
e ,
Original file line number Diff line number Diff line change @@ -42,6 +42,14 @@ class ServiceConnectionPool:
42
42
<compier_gym.service.CompilerGymServiceConnection.close>`), it is
43
43
automatically released back to the pool so that a future request for the
44
44
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]
45
53
"""
46
54
47
55
def __init__ (self ) -> None :
You can’t perform that action at this time.
0 commit comments