GmCapsule [main]

Refactoring to isolate workers better (trying multiprocessing)

=> Jaakko Keränen

Fri Jun 16 13:09:37 2023 +0300

Each worker loads their own extension modules. This will enable

starting and stopping workers independently.

the incoming connections to the worker process somehow. Pickling
the connection doesn't seem to work.

gmcapsule/init.py | 135 +-------------

gmcapsule/gemini.py | 396 +++++++++++++++++++++++-----------------

gmcapsule/modules/10_rewrite.py | 22 +--

gmcapsule/modules/80_gitview.py | 25 ++-

gmcapsule/modules/90_cgi.py | 35 ++--

gmcapsule/modules/99_static.py | 20 +-

gmcapsuled | 26 ++-

7 files changed, 299 insertions(+), 360 deletions(-)

Proxy Information
Original URL
gemini://git.skyjake.fi/gmcapsule/main/commits/28d6cb61487854a146a5573523712ebe77cb6e9e
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
28.116621 milliseconds
Gemini-to-HTML Time
0.311298 milliseconds

This content has been proxied by September (ba2dc).