Yann Weber
5fe7b025ff
Enhancement in standalone server
Now we are able to limit the number of spawned child processes
8 years ago
Yann Weber
c1f627eb18
Add configurable stuff for the standalone server
Now listening address, listening port and max_children count can be configured using the Settings module
8 years ago
Yann Weber
31af31ded2
multisite server optimisation
Adding a cache for app module reducing seriously routing overhead
8 years ago
Yann Weber
c8f571f0b7
Deleting debug messaging of multisite standalone server
8 years ago
Yann Weber
e31adfda8e
Bugfixes in numerous import processes
Replace some old pure python import by LodelContext calls
Change the plugins imports methods to use LodelContext instead
Fixes dyncode exposure method
8 years ago
Yann Weber
742e77225a
Add a fogotten file
8 years ago
Yann Weber
ab0e5146dd
Updates the multisite loader to enable loader settings & logger
8 years ago
Yann Weber
a21e0be25f
Fixing multisite loading process & dyncode bootstrapping
- a "normal" import was left in lefactory_common
- the hook triggering datasources init in dyncode was not called
- dyncode was not exposed in the loader (making hook call useless : the hook has to be called once the dyncode has been "seen" (imported) by python)
8 years ago
Yann Weber
e3b8e49060
Bugfixes in context and webui in order to test multisite
Regression may have been introduced about MONOSITE mode
8 years ago
Roland Haroutiounian
29253424f4
Small fixes
8 years ago
prieto
4e4190298b
Multisite loader - correction
8 years ago
prieto
3dfe523c5a
Multisite loader
8 years ago
Yann Weber
773ea0e696
LodelContext enhancement to fit the new loader
+ uses the changes in the preload method
8 years ago
Roland Haroutiounian
fb45b2bb4e
bugfix in loader.py
8 years ago
Roland Haroutiounian
1607c99d7b
Deleted a useless import in the loader module in the multisite plugin
8 years ago
Roland Haroutiounian
44a674d99b
The preload function is getting its contexts directly from LodelContexts._contexts
8 years ago
Roland Haroutiounian
8521a393c1
Added the plugins loading to the preload
8 years ago
Yann Weber
9668aed506
Enhancement of multisite WSGIServer
- found a way to make it implements the socketserver.ForkinTCPServer features reducing the global code size (and removed a lot of dirty copy & paste from cpython sources)
- deleted useless imports
8 years ago
Roland Haroutiounian
9a8a615893
Added a loader module in the multisite plugin
8 years ago
Yann Weber
2a7c196bfb
Solves the client socket leak bug in forking wsgi server
8 years ago
Yann Weber
0aaadb3d2d
Overwrite default socketserver.ForkingMixIn max_children limit
8 years ago
Yann Weber
0406e91846
Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
8 years ago