wanwancloud commented on issue #2787:
URL: 
https://github.com/apache/incubator-hugegraph/issues/2787#issuecomment-2952351203

   [root@localhost conf]# cat rest-server.properties 
   # bind url
   # could use '0.0.0.0' or specified (real)IP to expose external network access
   restserver.url=http://0.0.0.0:8080
   #restserver.enable_graphspaces_filter=false
   # gremlin server url, need to be consistent with host and port in 
gremlin-server.yaml
   #gremlinserver.url=http://127.0.0.1:8182
   
   graphs=./conf/graphs
   
   # The maximum thread ratio for batch writing, only take effect if the 
batch.max_write_threads is 0
   batch.max_write_ratio=80
   batch.max_write_threads=0
   
   # configuration of arthas
   arthas.telnet_port=8562
   arthas.http_port=8561
   arthas.ip=0.0.0.0
   arthas.disabled_commands=jad
   
   # authentication configs
   # choose 'org.apache.hugegraph.auth.StandardAuthenticator' or
   # 'org.apache.hugegraph.auth.ConfigAuthenticator'
   auth.authenticator=org.apache.hugegraph.auth.StandardAuthenticator
   
   # for StandardAuthenticator mode
   auth.graph_store=hugegraph
   # auth client config
   #auth.remote_url=127.0.0.1:8899,127.0.0.1:8898,127.0.0.1:8897
   
   # for ConfigAuthenticator mode
   #auth.admin_token=
   #auth.user_tokens=[]
   
   # TODO: Deprecated & removed later (useless from version 1.5.0)
   # rpc server configs for multi graph-servers or raft-servers
   rpc.server_host=192.168.230.128
   rpc.server_port=8091
   rpc.server_timeout=30
   
   # rpc client configs (like enable to keep cache consistency)
   rpc.remote_url=192.168.230.128:8091,192.168.230.129:8091,192.168.230.130:8091
   rpc.client_connect_timeout=60
   rpc.client_reconnect_period=15
   rpc.client_read_timeout=60
   rpc.client_retries=5
   rpc.client_load_balancer=consistentHash
   #rpc.client_connect_timeout=20
   #rpc.client_reconnect_period=10
   #rpc.client_read_timeout=40
   #rpc.client_retries=3
   #rpc.client_load_balancer=consistentHash
   
   # raft group initial peers
   
raft.group_peers=192.168.230.128:8091,192.168.230.129:8091,192.168.230.130:8091
   
   # lightweight load balancing (beta)
   server.id=server1
   server.role=master
   
   # slow query log
   log.slow_query_threshold=1000
   
   # jvm(in-heap) memory usage monitor, set 1 to disable it
   memory_monitor.threshold=0.85
   memory_monitor.period=2000


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@hugegraph.apache.org
For additional commands, e-mail: issues-h...@hugegraph.apache.org

Reply via email to