MCPcopy
hub / github.com/USArmyResearchLab/Dshell / _postmodule

Method _postmodule

dshell/core.py:522–530  ·  view source on GitHub ↗

Overwriting _postmodule to add log info about connection counts.

(self)

Source from the content-addressed store, hash-verified

520 self.max_open_connections = 1000
521
522 def _postmodule(self):
523 """
524 Overwriting _postmodule to add log info about connection counts.
525 """
526 super()._postmodule()
527 logger.info(
528 f"{self.seen_conn_count.value} seen connections, "
529 f"{self.handled_conn_count.value} handled connections"
530 )
531
532 def produce_connections(self) -> Iterable["Connection"]:
533 """

Callers

nothing calls this directly

Calls 2

_postmoduleMethod · 0.45
infoMethod · 0.45

Tested by

no test coverage detected