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/28d6cb6
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
70.358937 milliseconds
Gemini-to-HTML Time
0.357321 milliseconds

This content has been proxied by September (ba2dc).