mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-04 04:31:44 +00:00
export cache and queue functions only if available
This commit is contained in:
@@ -673,9 +673,13 @@ void init_uwsgi_embedded_module() {
|
||||
init_uwsgi_module_sharedarea(new_uwsgi_module);
|
||||
}
|
||||
|
||||
init_uwsgi_module_cache(new_uwsgi_module);
|
||||
if (uwsgi.cache_max_items > 0) {
|
||||
init_uwsgi_module_cache(new_uwsgi_module);
|
||||
}
|
||||
|
||||
init_uwsgi_module_queue(new_uwsgi_module);
|
||||
if (uwsgi.queue_size > 0) {
|
||||
init_uwsgi_module_queue(new_uwsgi_module);
|
||||
}
|
||||
|
||||
if (up.extension) {
|
||||
up.extension();
|
||||
|
||||
Reference in New Issue
Block a user