summaryrefslogtreecommitdiff
path: root/docs/test_server.ini
diff options
context:
space:
mode:
authorianb <devnull@localhost>2007-01-30 02:38:26 +0000
committerianb <devnull@localhost>2007-01-30 02:38:26 +0000
commitece03828126775b45427097845fd42ab12f42edf (patch)
tree623e1557c6ca7ae6fd8c6bbfa9e2f4ba82e4bae7 /docs/test_server.ini
parent6e81ae88f5c1830c8ad10135bbf5c1de57e75d27 (diff)
downloadpaste-ece03828126775b45427097845fd42ab12f42edf.tar.gz
Add app to monitor and summarize the status of any wedged threads. Also a handy config file for testing some stuff, and removing a config file that is long defunct
Diffstat (limited to 'docs/test_server.ini')
-rw-r--r--docs/test_server.ini18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/test_server.ini b/docs/test_server.ini
new file mode 100644
index 0000000..3b76569
--- /dev/null
+++ b/docs/test_server.ini
@@ -0,0 +1,18 @@
+[app:main]
+use = egg:Paste#test_slow
+
+[server:main]
+use = egg:Paste#http
+
+[filter-app:watch_threads]
+use = egg:Paste#error_catcher
+debug = true
+next = watch_threads_inner
+
+[app:watch_threads_inner]
+use = egg:Paste#urlmap
+/bad = bad_app
+/ = egg:Paste#watch_threads
+
+[app:bad_app]
+paste.app_factory = paste.debug.watchthreads:make_bad_app