Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mendess committed Oct 4, 2023
1 parent e961693 commit d057541
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions daphne_worker/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,19 @@ impl<'srv> DaphneWorker<'srv> {

tracing::debug!(%kv_key, "looking up key in kv");
let kv_store = self.kv()?;

tracing::debug!(
"KV KEYS ARE: {:?}",
kv_store
.list()
.execute()
.await
.unwrap()
.keys
.into_iter()
.map(|k| k.name)
.collect::<Vec<_>>()
);
let builder = kv_store.get(&kv_key);
if let Some(kv_value) = builder.json::<V>().await? {
// TODO(cjpatton) Consider indicating whether the value is known to not exist. For HPKE
Expand Down
2 changes: 1 addition & 1 deletion daphne_worker_test/tests/e2e/e2e.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ async fn fixed_size(version: DapVersion, use_current: bool) {
}

async fn fixed_size_no_current(version: DapVersion) {
fixed_size(version, true).await;
fixed_size(version, false).await;
}

async_test_versions! { fixed_size_no_current }
Expand Down

0 comments on commit d057541

Please sign in to comment.