Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Winnie (Joowon) <[email protected]>
  • Loading branch information
ehnuje and joowon-byun committed Dec 24, 2020
1 parent 50224d5 commit b1c4bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/database/leveldb_database.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func GetOpenFilesLimit() int {
logger.Crit("Failed to retrieve file descriptor allowance", "err", err)
}
if limit < minFileDescriptorsForDBManager {
logger.Crit("Failed to raise file descriptor allowance to the minimum value",
logger.Crit("Raised number of file descriptor is below the minimum value",
"currFileDescriptorsLimit", limit, "minFileDescriptorsForDBManager", minFileDescriptorsForDBManager)
}
return limit / 2 // Leave half for networking and other stuff
Expand Down

0 comments on commit b1c4bac

Please sign in to comment.