Skip to content

Commit

Permalink
fix(defaults): Set --cache_mb to 2048 by default (#6785)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ibrahim Jarif authored Oct 22, 2020
1 parent c57f88c commit a7bc16d
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 @@ -213,7 +213,7 @@ they form a Raft group and provide synchronous replication.
flag.Duration("graphql_poll_interval", time.Second, "polling interval for graphql subscription.")

// 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 a7bc16d

Please sign in to comment.