cleanup the rados plugin

This commit is contained in:
Unbit
2013-09-10 23:42:08 +02:00
parent 06fa65bc5d
commit fce94e0f54
2 changed files with 3 additions and 7 deletions
-1
View File
@@ -1,4 +1,3 @@
[uwsgi]
main_plugin = rados
inherit = base
matheval = false
+3 -6
View File
@@ -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,
};