Skip to content

Commit 5e50a9e

Browse files
sjaanuschriswk
andauthored
chore: add debug message for delta (#654)
* chore: add debug message for delta * Update server/src/http/refresher/delta_refresher.rs Co-authored-by: Christopher Kolstad <chriswk@getunleash.io> --------- Co-authored-by: Christopher Kolstad <chriswk@getunleash.io>
1 parent 1aa5afa commit 5e50a9e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

server/src/http/refresher/delta_refresher.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ impl FeatureRefresher {
1616
delta: ClientFeaturesDelta,
1717
etag: Option<EntityTag>,
1818
) {
19-
debug!("Got updated client features delta. Updating features with {etag:?}");
19+
let updated_len = delta.updated.len();
20+
let removed_len = delta.removed.len();
21+
22+
debug!(
23+
"Got updated client features delta. Updating features with {etag:?}, updated {updated_len}, removed {removed_len}"
24+
);
25+
2026
let key = cache_key(refresh_token);
2127
self.features_cache.apply_delta(key.clone(), &delta);
2228
self.update_last_refresh(

0 commit comments

Comments
 (0)