Skip to content

Commit

Permalink
Add a way to limit the disk usage of symbol files.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstange committed Nov 26, 2024
1 parent 5110a08 commit 7cda3c2
Show file tree
Hide file tree
Showing 11 changed files with 893 additions and 8 deletions.
99 changes: 97 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ members = [
"fxprof-processed-profile",
"gecko_profile",
"samply-api",
"samply-quota-manager",
"samply-symbols",
"samply",
"wholesym",
Expand Down
17 changes: 17 additions & 0 deletions samply-quota-manager/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "samply-quota-manager"
version = "0.1.0"
authors = ["Markus Stange <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.70"
description = "Limit the total size of a directory by deleting least-recently-used files"
repository = "https://github.com/mstange/samply/"
readme = "README.md"

[dependencies]
bytesize = "1.3.0"
log = "0.4.21"
tokio = { version = "1.39", features = ["rt", "rt-multi-thread", "sync", "macros"] }
rusqlite = { version = "0.32.0", features = ["bundled"] }
rusqlite_migration = "1.2.0"
2 changes: 2 additions & 0 deletions samply-quota-manager/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# samply-quota-manager

Loading

0 comments on commit 7cda3c2

Please sign in to comment.