Overwriting _postmodule to add log info about connection counts.
(self)
| 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 | """ |
nothing calls this directly
no test coverage detected