-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database: Configurable cache size #1467
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1467 +/- ##
==========================================
- Coverage 72.39% 72.38% -0.02%
==========================================
Files 93 93
Lines 9586 9592 +6
==========================================
+ Hits 6940 6943 +3
- Misses 2118 2120 +2
- Partials 528 529 +1 ☔ View full report in Codecov by Sentry. |
@@ -61,6 +61,7 @@ const ( | |||
maxVMQueueF = "max-vm-queue" | |||
remoteDBF = "remote-db" | |||
rpcMaxBlockScanF = "rpc-max-block-scan" | |||
cacheSizeMbF = "cache-size-mb" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cacheSizeMbF = "cache-size-mb" | |
cacheSizeMbF = "db-cache-size" |
@@ -113,6 +115,7 @@ const ( | |||
maxVMQueueUsage = "Maximum number for requests to queue after reaching max-vms before starting to reject incoming requets" | |||
remoteDBUsage = "gRPC URL of a remote Juno node" | |||
rpcMaxBlockScanUsage = "Maximum number of blocks scanned in single starknet_getEvents call" | |||
cacheSizeUsage = "Determines the amount of memory allocated for caching data in the database." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cacheSizeUsage = "Determines the amount of memory allocated for caching data in the database." | |
cacheSizeUsage = "Determines the amount of memory allocated for caching data in the database. (in megabytes)" |
Closing in favor of #1471 |
Closes #1458