Skip to content

Commit

Permalink
fix(defaults): Set --cache_mb to 2048 by default (#6784)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ibrahim Jarif authored Oct 22, 2020
1 parent a1ce240 commit b842d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dgraph/cmd/alpha/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ they form a Raft group and provide synchronous replication.
flag.Bool("ludicrous_mode", false, "Run alpha in ludicrous mode")

// Cache flags
flag.Int64("cache_mb", 0, "Total size of cache (in MB) to be used in alpha.")
flag.Int64("cache_mb", 2048, "Total size of cache (in MB) to be used in alpha.")
// TODO(Naman): The PostingListCache is a no-op for now. Once the posting list cache is
// added in release branch, use it.
flag.String("cache_percentage", "0,65,25,0,10",
Expand Down

0 comments on commit b842d2e

Please sign in to comment.