diff --git a/buildconf/default.ini b/buildconf/default.ini index b029d03c..609b961e 100644 --- a/buildconf/default.ini +++ b/buildconf/default.ini @@ -25,7 +25,7 @@ bin_name = uwsgi plugin_dir = . embedded_plugins = python, ping, cache, nagios, rpc, fastrouter, http, ugreen -locking = flock +locking = auto event = auto timer = auto filemonitor = auto diff --git a/heavytest.ini b/heavytest.ini index 94687ffa..e2c0e7d6 100644 --- a/heavytest.ini +++ b/heavytest.ini @@ -1,6 +1,6 @@ [uwsgi] -master = true +;master = true processes = 4 threads = 8 @@ -22,3 +22,6 @@ cache-blocksize = 98304 log-micros = true + +module = heavytest +mount = /cc=uwsgicc/__init__.py diff --git a/heavytest.py b/heavytest.py new file mode 100644 index 00000000..bcef7b6f --- /dev/null +++ b/heavytest.py @@ -0,0 +1,14 @@ +import uwsgi +import werkzeug.testapp + +uwsgi.cache_set("/cache/get", "HTTP 1.1 200 OK\r\nContent-Type: text/html\r\n\r\n