Skip to content

Commit

Permalink
Merge pull request #71 from lbryio/default-changes
Browse files Browse the repository at this point in the history
Change default config
  • Loading branch information
tiger5226 authored Dec 31, 2018
2 parents 0cf2ff4 + 5f50099 commit b47c885
Showing 1 changed file with 48 additions and 23 deletions.
71 changes: 48 additions & 23 deletions config/default/chainqueryconfig.toml
Original file line number Diff line number Diff line change
@@ -1,63 +1,88 @@
#Debug mode outputs specific information to the console
#DEFAULT-debugmode=false
#DEFAULT: false
#debugmode=

#DebugQueryMode outputs SQL Boiler queries to the console.
#DEFAULT-debugquerymode=false
#DEFAULT: false
#debugquerymode=

#LBRYcrd URL is required for chainquery to query the blockchain
#DEFAULT-lbrycrdurl="rpc://lbry:lbry@localhost:9245"
#DEFAULT: "rpc://lbry:lbry@localhost:9245"
#lbrycrdurl=

#MySQL DSN is required for chainquery to store information.
#DEFAULT-mysqldsn="lbry:lbry@tcp(localhost:3306)/chainquery"
#DEFAULT: "lbry:lbry@tcp(localhost:3306)/chainquery"
#SUGGESTED: "lbry:lbry@unix(/var/run/mysqld/mysqld.sock)/chainquery"
#mysqldsn=

#API MySQL DSN is required for chainquery to expose a SQL query service
#DEFAULT-apimysqldsn="lbry:lbry@tcp(localhost:3306)/chainquery"
#DEFAULT: "lbry:lbry@tcp(localhost:3306)/chainquery"
#SUGGESTED: "lbry:lbry@unix(/var/run/mysqld/mysqld.sock)/chainquery"
#apimysqldsn=

#API Host and Port is required for the API Server to bind and listen on.
#DEFAULT-apihostport="0.0.0.0:6300"
#DEFAULT: "0.0.0.0:6300"
#apihostport=

#Profile mode enables and disables the reporting of a profile for chainquery
#DEFAULT-profilemode=false
#DEFAULT: false
#profilemode=

#Daemon mode tells chainquery how hard it should work catch up processing the blockchain
#DEFAULT-deamonmode=0 #BeastMode it continuously process block after block until caughtup.
#deamonmode=0 #BeastMode it continuously process block after block until caughtup.
#daemonmode=1 #SlowAndSteadyMode it will process block with a frequency of 1 block every 100ms
#daemonmode=2 #DelayMode it will process a block with a configured delay frequency (set via 'processingdelay')
#daemonmode=3 #DaemonMode it will process a block every iteration of the daemon.
#DEFAULT: 0
#deamonmode=

#Default client timeout is for communication with the api of chainquery
#DEFAULT-defaultclienttimeout=20 #Measured in seconds
#DEFAULT: 20 #Measured in seconds
#defaultclienttimeout=

#Processing delay is used to determine how frequently chainquery should process a block
# It is only used if Daemon mode is set to delay mode
#DEFAULT-processingdelay=100 #Measured in milliseconds
#DEFAULT: 100 #Measured in milliseconds
#processingdelay=

#Daemon delay is the frequency at which chainquery checks for work to do.
#DEFAULT-daemondelay=1 #Measured in seconds
#DEFAULT: 1 #Measured in seconds
#daemondelay=

#Profiling options - will output the time take for certain opertions related to the below category
#DEFAULT-daemonprofile=false
#DEFAULT-lbrycrdprofile=false
#DEFAULT-mysqlprofile=false
#DEFAULT: false (for all 3 params)
#daemonprofile=
#lbrycrdprofile=
#mysqlprofile=

#Slack Hook URL allows slack integration. All logging info level and above is posted to a slack channel.
#DEFAULT-slackhookurl=[unset]
#DEFAULT: ""
#slackhookurl=

#Slack Channel is the channel that you want the messages to appear. Works together with the hook url.
#DEFAULT-slackchannel=[unset]
#DEFAULT: ""
#slackchannel=

#Slack Log Level tells chainquery what level of logging will be sent to the slack channel. It will log all levels below
# it as well. Panic=0,Fatal=1,Error=2,Warning=3,Info=4,Debug=5
#DEFAULT-slackloglevel=0
#DEFAULT: 0
#slackloglevel=

#The command that should be executed to trigger a self update of the software. For linux, for example, `<yourscript>.sh`
#DEFAULT-autoupdatecommand=[unset]
#DEFAULT: ""
#autoupdatecommand=

#Twilio service of chainquery to send specifically important information to key users of the Chainquery install.
#DEFAULT-twiliosid=""
#DEFAULT-twilioauthtoken=""
#DEFAULT-smsrecipients=["",""]
#DEFAULT-smsfromphonenumber=""
#DEFAULT:
##twiliosid=""
##twilioauthtoken=""
##smsrecipients=["",""]
##smsfromphonenumber=""
#twiliosid=
#twilioauthtoken=
#smsrecipients=
#smsfromphonenumber=

#API Keys - Disallowed by default unless keys are entered.
#DEFAULT-apikeys=[]
#DEFAULT: []
#apikeys=

0 comments on commit b47c885

Please sign in to comment.