config: update release values to match prod (#2192)

This commit is contained in:
JT Olio 2019-06-15 10:19:19 -06:00 committed by Stefan Benten
parent 76061c50c5
commit e58a06bd0c
5 changed files with 8 additions and 8 deletions

View File

@ -15,7 +15,7 @@ import (
// Config contains configurable values for the live accounting service.
type Config struct {
StorageBackend string `help:"what to use for storing real-time accounting data"`
StorageBackend string `help:"what to use for storing real-time accounting data" default:"plainmemory"`
}
// Service represents the external interface to the live accounting

View File

@ -32,7 +32,7 @@ var (
// Config contains configurable values for checker
type Config struct {
Interval time.Duration `help:"how frequently checker should check for bad segments" releaseDefault:"30s" devDefault:"0h0m10s"`
IrreparableInterval time.Duration `help:"how frequently irrepairable checker should check for lost pieces" releaseDefault:"15s" devDefault:"0h0m5s"`
IrreparableInterval time.Duration `help:"how frequently irrepairable checker should check for lost pieces" releaseDefault:"30m" devDefault:"0h0m5s"`
}
// durabilityStats remote segment information

View File

@ -36,7 +36,7 @@ var (
type Config struct {
MaxRepair int `help:"maximum segments that can be repaired concurrently" releaseDefault:"5" devDefault:"1"`
Interval time.Duration `help:"how frequently repairer should try and repair more data" releaseDefault:"1h" devDefault:"0h5m0s"`
Timeout time.Duration `help:"time limit for uploading repaired pieces to new storage nodes" default:"10m0s"`
Timeout time.Duration `help:"time limit for uploading repaired pieces to new storage nodes" devDefault:"10m0s" releaseDefault:"2h"`
MaxBufferMem memory.Size `help:"maximum buffer memory (in bytes) to be allocated for read buffers" default:"4M"`
}

View File

@ -47,7 +47,7 @@ var (
// Config contains configuration for console web server
type Config struct {
Address string `help:"server address of the graphql api gateway and frontend app" default:"127.0.0.1:8081"`
Address string `help:"server address of the graphql api gateway and frontend app" devDefault:"127.0.0.1:8081" releaseDefault:":10100"`
StaticDir string `help:"path to static resources" default:""`
ExternalAddress string `help:"external endpoint of the satellite if hosted" default:""`
StripeKey string `help:"stripe api key" default:""`

View File

@ -17,10 +17,10 @@
# checker.interval: 30s
# how frequently irrepairable checker should check for lost pieces
# checker.irreparable-interval: 15s
# checker.irreparable-interval: 30m0s
# server address of the graphql api gateway and frontend app
# console.address: "127.0.0.1:8081"
# console.address: ":10100"
# auth token needed for access to registration token creation endpoint
# console.auth-token: ""
@ -107,7 +107,7 @@ kademlia.operator.wallet: ""
# kademlia.replacement-cache-size: 5
# what to use for storing real-time accounting data
# live-accounting.storage-backend: ""
# live-accounting.storage-backend: "plainmemory"
# if true, log function filename and line number
# log.caller: false
@ -263,7 +263,7 @@ kademlia.operator.wallet: ""
# repairer.max-repair: 5
# time limit for uploading repaired pieces to new storage nodes
# repairer.timeout: 10m0s
# repairer.timeout: 2h0m0s
# option for deleting tallies after they are rolled up
# rollup.delete-tallies: false