about summary refs log tree commit homepage
path: root/examples
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-16 15:22:42 -0700
committerEric Wong <normalperson@yhbt.net>2011-03-16 15:53:06 -0700
commitdb9162575b885add7c3b7ab06f9c03a2ebc44a1f (patch)
treeb8eabe7bd973cc731166ec531d76afddb0c9d786 /examples
parentb0be66c37bb7080b0f06ab76b0e7d3404e2f9059 (diff)
downloadraindrops-db9162575b885add7c3b7ab06f9c03a2ebc44a1f.tar.gz
It does streaming!
Diffstat (limited to 'examples')
-rw-r--r--examples/zbatery.config.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/zbatery.config.rb b/examples/zbatery.config.rb
new file mode 100644
index 0000000..38aa4b6
--- /dev/null
+++ b/examples/zbatery.config.rb
@@ -0,0 +1,6 @@
+# Used for running Raindrops::Watcher, which requires a multi-threaded
+# Rack server capable of streaming a response.  Threads must be used,
+# so Zbatery is recommended: http://zbatery.bogomip.org/
+Rainbows! do
+  use :ThreadSpawn
+end