Yann Weber
93f1f91699
Code cleaning
Deleting code from old standalone server
hace 8 años
Yann Weber
fcebf96031
More comments
hace 8 años
Yann Weber
b7197d8ea4
Adding some comments in multisite loader.py & run.py
hace 8 años
Yann Weber
6da005fa91
First commit of a single uWSGI serving X lodel2
Seems to works !! :)
hace 8 años
Yann Weber
5fe7b025ff
Enhancement in standalone server
Now we are able to limit the number of spawned child processes
hace 8 años
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
hace 8 años
Yann Weber
31af31ded2
multisite server optimisation
Adding a cache for app module reducing seriously routing overhead
hace 8 años
Yann Weber
c8f571f0b7
Deleting debug messaging of multisite standalone server
hace 8 años
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
hace 8 años
Yann Weber
742e77225a
Add a fogotten file
hace 8 años
Yann Weber
ab0e5146dd
Updates the multisite loader to enable loader settings & logger
hace 8 años
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)
hace 8 años
Yann Weber
e3b8e49060
Bugfixes in context and webui in order to test multisite
Regression may have been introduced about MONOSITE mode
hace 8 años
Roland Haroutiounian
29253424f4
Small fixes
hace 8 años
prieto
4e4190298b
Multisite loader - correction
hace 8 años
prieto
3dfe523c5a
Multisite loader
hace 8 años
Yann Weber
773ea0e696
LodelContext enhancement to fit the new loader
+ uses the changes in the preload method
hace 8 años
Roland Haroutiounian
fb45b2bb4e
bugfix in loader.py
hace 8 años
Roland Haroutiounian
1607c99d7b
Deleted a useless import in the loader module in the multisite plugin
hace 8 años
Roland Haroutiounian
44a674d99b
The preload function is getting its contexts directly from LodelContexts._contexts
hace 8 años
Roland Haroutiounian
8521a393c1
Added the plugins loading to the preload
hace 8 años
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
hace 8 años
Roland Haroutiounian
9a8a615893
Added a loader module in the multisite plugin
hace 8 años
Yann Weber
2a7c196bfb
Solves the client socket leak bug in forking wsgi server
hace 8 años
Yann Weber
0aaadb3d2d
Overwrite default socketserver.ForkingMixIn max_children limit
hace 8 años
Yann Weber
0406e91846
Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
hace 8 años