Improve documentation

This commit is contained in:
2021-03-28 18:54:52 +02:00
parent c748387b48
commit b7315c2348
11 changed files with 79 additions and 38 deletions

View File

@@ -83,7 +83,7 @@ class HTTPServer:
"""
Cleanly shutdown the server
Notifies the worker processes to shutdown and eventually closes the server socket
Notifies the worker processes to shut down and eventually closes the server socket
"""
# Set stop event
@@ -111,7 +111,7 @@ class HTTPServer:
"""
Create worker processes up to `self.worker_count`.
A worker process is created with start method "spawn", target `worker.worker` and the `self.logging_level`
A worker process is created with start method "spawn", target `worker.worker`, and the `self.logging_level`
is passed along with the `self.dispatch_queue` and `self._stop_event`
"""
for i in range(self.worker_count):