Skip to content

Commit 9d02643

Browse files
committed
Add a way to limit the disk usage of symbol files.
1 parent 9c7c2e1 commit 9d02643

File tree

11 files changed

+894
-9
lines changed

11 files changed

+894
-9
lines changed

Cargo.lock

+97-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ members = [
55
"fxprof-processed-profile",
66
"gecko_profile",
77
"samply-api",
8+
"samply-quota-manager",
89
"samply-symbols",
910
"samply",
1011
"wholesym",

samply-quota-manager/Cargo.toml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[package]
2+
name = "samply-quota-manager"
3+
version = "0.1.0"
4+
authors = ["Markus Stange <[email protected]>"]
5+
license = "MIT OR Apache-2.0"
6+
edition = "2021"
7+
rust-version = "1.77" # needed by rusqlite_migration
8+
description = "Limit the total size of a directory by deleting least-recently-used files"
9+
repository = "https://github.com/mstange/samply/"
10+
readme = "README.md"
11+
12+
[dependencies]
13+
bytesize = "1.3.0"
14+
log = "0.4.21"
15+
tokio = { version = "1.39", features = ["rt", "rt-multi-thread", "sync", "macros"] }
16+
rusqlite = { version = "0.32.0", features = ["bundled"] }
17+
rusqlite_migration = "1.2.0"

samply-quota-manager/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# samply-quota-manager
2+

0 commit comments

Comments
 (0)