Skip to content

Conversation

aws-sdk-s3 = "1.58.0"
mockall = "0.13.0"
moka = { version = "0.12.8", features = ["sync"] }
moka = { version = "0.12.8", features = ["sync", "future"] }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added this feature to the workspace version of moka because I need it for flags

derive_builder = "0.20.1"
petgraph = "0.6.5"
moka = { version = "0.12.8", features = ["future"] }
moka = { workspace = true }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use the workspace version

pub team_ids_to_track: TeamIdsToTrack,

#[envconfig(from = "CACHE_MAX_CAPACITY", default = "100000")]
pub cache_max_capacity: u64,
Copy link
Contributor

@havenbarnes havenbarnes Nov 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: adding a unit to the name like cache_ttl_seconds has would be better? e.g. cache_max_bytes_capacity / cache_max_teams_capacity

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v good point, will do that.

Copy link
Contributor

@havenbarnes havenbarnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG! Just one nit

@dmarticus dmarticus enabled auto-merge (squash) November 27, 2024 20:55
@dmarticus dmarticus merged commit f6de867 into master Nov 27, 2024
80 checks passed
@dmarticus dmarticus deleted the chore/optimize-new-flags-service branch November 27, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants