mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-06-16 02:15:48 +00:00
cleanup the rados plugin
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
[uwsgi]
|
||||
main_plugin = rados
|
||||
inherit = base
|
||||
matheval = false
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
#include <uwsgi.h>
|
||||
#include <rados/librados.h>
|
||||
|
||||
#ifdef UWSGI_MATHEVAL
|
||||
#error currently the glusterfs plugins is not compatible with uWSGI built with matheval support
|
||||
#endif
|
||||
|
||||
extern struct uwsgi_server uwsgi;
|
||||
|
||||
/*
|
||||
|
||||
Author: Roberto De Ioris / Javier Guerra
|
||||
Author: Javier Guerra
|
||||
|
||||
based on the uWSGI GlusterFS plugin by Roberto De Ioris
|
||||
|
||||
--rados-mount mountpoint=/foo,pool=unbit001,config=/etc/ceph.conf
|
||||
|
||||
@@ -255,7 +253,6 @@ struct uwsgi_plugin rados_plugin = {
|
||||
.modifier1 = 28,
|
||||
.options = uwsgi_rados_options,
|
||||
.post_fork = uwsgi_rados_setup,
|
||||
// .fixup = uwsgi_rados_connect,
|
||||
.request = uwsgi_rados_request,
|
||||
.after_request = log_request,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user