@cryptotaxi247 / kubo / commits / 4309541e8

go-ipfs-config: feat(config) default Log.MaxSizeMB = 500

Brian Tiger Chow committed Feb 2, 2015 at 18:26 UTC 4309541e87f6786d0fa2c4d8f33696c56e555c21
1 file changed +4 -1
config/init.go
+4 -1
@@ -41,6 +41,9 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
41 Bootstrap: BootstrapPeerStrings(bootstrapPeers),
42 Datastore: *ds,
43 Identity: identity,
44 + Log: Log{
45 + MaxSizeMB: 500,
46 + },
47
48 // setup the node mount points.
49 Mounts: Mounts{
@@ -54,7 +57,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
57
58 Gateway: Gateway{
59 RootRedirect: "",
57 - Writable: false,
60 + Writable: false,
61 },
62 }
63