Improve documentation
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user