Skip to content

Commit

Permalink
Revert change to multiprocessing mode
Browse files Browse the repository at this point in the history
Revert change to multiprocessing mode accidentally included in #1853
  • Loading branch information
ashleysommer authored Jun 29, 2020
1 parent 4aba74d commit cb99738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sanic/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ def sig_handler(signal, frame):

signal_func(SIGINT, lambda s, f: sig_handler(s, f))
signal_func(SIGTERM, lambda s, f: sig_handler(s, f))
mp = multiprocessing.get_context("spawn")
mp = multiprocessing.get_context("fork")

for _ in range(workers):
process = mp.Process(target=serve, kwargs=server_settings)
Expand Down

0 comments on commit cb99738

Please sign in to comment.