summaryrefslogtreecommitdiffstats
path: root/distrib
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-01-11 23:50:59 -0500
committerJames Moger <james.moger@gitblit.com>2013-01-11 23:50:59 -0500
commit5316d20e861640867d10405b25cfe75aeca0a34c (patch)
treeeeb9cd87d77171c958c6df55db104a6bac5918f7 /distrib
parent1f82620a088efa2ba3254df1805e229266690673 (diff)
downloadgitblit-5316d20e861640867d10405b25cfe75aeca0a34c.tar.gz
gitblit-5316d20e861640867d10405b25cfe75aeca0a34c.zip
Fanout service for Sparkleshare clients
Diffstat (limited to 'distrib')
-rw-r--r--distrib/gitblit.properties47
1 files changed, 47 insertions, 0 deletions
diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties
index ce269d2c..758137e3 100644
--- a/distrib/gitblit.properties
+++ b/distrib/gitblit.properties
@@ -366,6 +366,53 @@ groovy.postReceiveScripts =
groovy.customFields =
#
+# Fanout Settings
+#
+
+# Fanout is a PubSub notification service that can be used by Sparkleshare
+# to eliminate repository change polling. The fanout service runs in a separate
+# thread on a separate port from the Gitblit http/https application.
+# This service is provided so that Sparkleshare may be used with Gitblit in
+# firewalled environments or where reliance on Sparkleshare's default notifications
+# server (notifications.sparkleshare.org) is unwanted.
+#
+# This service maintains an open socket connection from the client to the
+# Fanout PubSub service. This service may not work properly behind a proxy server.
+
+# Specify the interface for Fanout to bind it's service.
+# You may specify an ip or an empty value to bind to all interfaces.
+# Specifying localhost will result in Gitblit ONLY listening to requests to
+# localhost.
+#
+# SINCE 1.2.1
+# RESTART REQUIRED
+fanout.bindInterface = localhost
+
+# port for serving the Fanout PubSub service. <= 0 disables this service.
+# On Unix/Linux systems, ports < 1024 require root permissions.
+# Recommended value: 17000
+#
+# SINCE 1.2.1
+# RESTART REQUIRED
+fanout.port = 0
+
+# Use Fanout NIO service. If false, a multi-threaded socket service will be used.
+# Be advised, the socket implementation spawns a thread per connection plus the
+# connection acceptor thread. The NIO implementation is completely single-threaded.
+#
+# SINCE 1.2.1
+# RESTART REQUIRED
+fanout.useNio = true
+
+# Concurrent connection limit. <= 0 disables concurrent connection throttling.
+# If > 0, only the specified number of concurrent connections will be allowed
+# and all other connections will be rejected.
+#
+# SINCE 1.2.1
+# RESTART REQUIRED
+fanout.connectionLimit = 0
+
+#
# Authentication Settings
#