Skip to content

Commit

Permalink
should use local TVM when validating example
Browse files Browse the repository at this point in the history
  • Loading branch information
anitarua committed Sep 14, 2024
1 parent bbd6ea2 commit cef12ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/web/cache/refresh-disposable-tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ const main = async () => {

const wrappedTopicClient = await TokenRefreshingTopicClient.create({
refreshBeforeExpiryMs: 10_000, // 10 seconds before token expires, refresh it.
getDisposableToken: tokenVendingMachine,
getDisposableToken: localTokenVendingMachine,
});

await wrappedTopicClient.subscribe('my-cache', 'topic-1', {
Expand Down

0 comments on commit cef12ac

Please sign in to comment.