Skip to content

Conversation

@gruuya
Copy link
Contributor

@gruuya gruuya commented Jan 4, 2024

Also bump the other deps (moka, wasm, etc.)

// Ensure that our TTL parameter is honored, so that we don't get a frozen cache after it
// gets filled up once.
let _ = tokio::time::sleep(Duration::from_secs(1)).await;
let _ = tokio::time::sleep(Duration::from_millis(1100)).await;
Copy link
Contributor

Choose a reason for hiding this comment

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

1.1s and not 1s? (funny I was complaining about sleep in tests in the previous PR and had it in my code to begin with)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, the previous sleep was put there by me (also 1s now leads to non-consistent results, sometimes a couple of entries get vacated and sometimes none at all)

@gruuya gruuya marked this pull request as ready for review January 15, 2024 08:31
@gruuya gruuya merged commit dcb2f44 into main Jan 15, 2024
@gruuya gruuya deleted the upgrade-deps branch January 15, 2024 08:48
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