- Deprecated init script and sysconfig file in favor of systemd service and a
default configuration file /etc/uwsgi/uwsgi.ini - Update README to describe important changes - Removed separate packages for plugins that have no uncommon requirements - Update to 1.9.11 * Fixed Python 3 stdout/stderr buffering * Fixed mule messages (@mulefunc is now reliable) * Fixed SCRIPT_NAME handling in dynamic mode * Fixed X-Sendfile with gzip static mode * Fixed cache item maximum size with custom block size * Fixed cache path handling * Added the new high-performance PyPy plugin * You can now avoid overlapping crons using --unique-cron. The uWSGI master will track death of a single task, and until its death the same cron will not be triggered * A key/value variant of the --cron option is now available * When using the cron2 option you are allowed to set a harakiri timeout for a cron task. Just add harakiri=n to the options * Added support for GNU Hurd * A new offload engine named "memory" allows to offload memory transfers. The cache router automatically supports it. To enable it just add --offload-threads <n> * An example websocket chat using Redis has been added to the repository * You can now define a routing table to be executed as soon as you set the HTTP status code in your plugin * Generally the wsgi.file_wrapper callable expects a file-like object. PEP 333/3333 reports a special pattern when the object is not a file (call read() until the object is consumed). uWSGI now supports this pattern (even if in a hacky way) * When using --http-keepalive you can now hold the connection open even if OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=5
This commit is contained in:
@@ -2,17 +2,25 @@
|
||||
openSUSE uWSGI Notes
|
||||
====================
|
||||
|
||||
Upgrading from 1.2.6
|
||||
--------------------
|
||||
|
||||
The init script and the sysconfig file /etc/sysconfig/uwsgi are now deprecated
|
||||
in favor of a systemd service and a default configuration file
|
||||
/etc/uwsgi/uwsgi.ini.
|
||||
|
||||
Emperor Mode
|
||||
------------
|
||||
|
||||
The included init script runs uWSGI in Emperor mode. It will monitor the
|
||||
/etc/uwsgi/vassals directory for configurations and will automatically load
|
||||
and restart uWSGI processes when configuration files are placed there or
|
||||
modified. Some example configurations are provided in the directory. To enable
|
||||
one, rename it without the .example at the end and edit for your application.
|
||||
The included uwsgi service runs uWSGI in Emperor mode by defgault. It will
|
||||
monitor the /etc/uwsgi/vassals directory for configurations and will
|
||||
automatically load and restart uWSGI processes when configuration files are
|
||||
placed there or modified. Some example configurations are provided in the
|
||||
directory. To enable one, rename it without the .example at the end and edit
|
||||
for your application.
|
||||
|
||||
For more information on Emperor mode, see
|
||||
http://projects.unbit.it/uwsgi/wiki/Emperor
|
||||
https://uwsgi-docs.readthedocs.org/en/latest/Emperor.html
|
||||
|
||||
|
||||
Plugins
|
||||
@@ -32,4 +40,3 @@ encounters options for those plugins in the configuration. To enable that, use
|
||||
the following in the configuration:
|
||||
|
||||
autoload = 1
|
||||
|
||||
|
Reference in New Issue
Block a user