fix uninit variable causing crash on 0 value
[oweals/gnunet.git] / src / gns / gns.conf.in
index 4e83a00bf550bc384b8b35287919d2408f73a866..b34246cef906edc5aea6950ca40be5844e226938 100644 (file)
@@ -1,9 +1,10 @@
 [gns]
-AUTOSTART = YES
+AUTOSTART = @AUTOSTART@
+FORCESTART = YES
 HOSTNAME = localhost
 BINARY = gnunet-service-gns
-UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-gns.sock
-@UNIXONLY@PORT = 2102
+UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-gns.sock
+@JAVAPORT@PORT = 2102
 
 # Do we require users that want to access GNS to run this process
 # (usually not a good idea)
@@ -12,14 +13,15 @@ UNIX_MATCH_UID = NO
 # Do we require users that want to access GNS to be in the 'gnunet' group?
 UNIX_MATCH_GID = YES
 
-# How many queries is GADS allowed to perform in the background at the same time?
-MAX_PARALLEL_BACKGROUND_QUERIES = 25
+# How many queries is GNS allowed to perform in the background at the same time?
+MAX_PARALLEL_BACKGROUND_QUERIES = 1000
 
-# How frequently do we try to publish our full zone?
-ZONE_PUBLISH_TIME_WINDOW = 4 h
+# Using caching or always ask DHT
+# USE_CACHE = YES
 
 # PREFIX = valgrind --leak-check=full --track-origins=yes
 
+
 [gns-proxy]
 BINARY = gnunet-gns-proxy
 AUTOSTART = NO