Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Feb 12, 2024
1 parent b71e0ca commit 2f00240
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/services/relay_renewal_job/refresh_topic_subscriptions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ pub async fn run(
async move {
let client = &client;
let metrics = metrics.as_ref();

// Using `batch_subscription` was removed in https://github.com/WalletConnect/notify-server/pull/359
// We can't really use this right now because we are also extending the topic TTL which could take longer than the 5m TTL
let result = futures_util::stream::iter(topics)
.map(|topic| async move {
// Subscribe a second time as the initial subscription above may have expired
Expand Down

0 comments on commit 2f00240

Please sign in to comment.