Skip to content

Commit

Permalink
strip binary
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimryndin committed Jan 28, 2024
1 parent b172263 commit f5a4f1a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ name = "goral"
codegen-units = 1
opt-level = 3
overflow-checks = true
strip = "debuginfo"

[profile.dev]
codegen-units = 8
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ So Goral provides the following features being deployed next to your app(s):
### System requirements

* Memory: RSS 30M, 900M for virtual memory. An actual requirement may be different - as it depends on the amount of data, scrape and push intervals (see below for each [service](#services))
* Binary size is around 30 Mb
* Binary size is around 15 Mb
* Platforms: Linux, MacOS. Other platform will probably work also.

### Installation
Expand Down
2 changes: 1 addition & 1 deletion src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ impl AppendableLog {
let usage =
100.0 * (cells_used_by_service as f32 / GOOGLE_SPREADSHEET_MAXIMUM_CELLS as f32);
tracing::debug!(
"cells used by service `{}`: {}, usage: {}",
"cells used by service `{}`: {}, usage: {}%",
self.service,
cells_used_by_service,
usage
Expand Down

0 comments on commit f5a4f1a

Please sign in to comment.