Skip to content

Commit

Permalink
do not tap compare during caching intent quote handler
Browse files Browse the repository at this point in the history
  • Loading branch information
jsy1218 committed Oct 29, 2024
1 parent 108dd87 commit 569b0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handlers/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export const INTENT_SPECIFIC_CONFIG: { [key: string]: IntentSpecificConfig } = {
// When the intent is to create a cache entry, we will use cachedRoutes with Tapcompare to track accuracy
intent: INTENT.CACHING,
useCachedRoutes: true,
overwriteCacheMode: CacheMode.Tapcompare,
// overwriteCacheMode: CacheMode.Tapcompare,
// This optimistic=false is *super* important to avoid an infinite loop of caching quotes calling themselves
optimisticCachedRoutes: false,
},
Expand Down

0 comments on commit 569b0a4

Please sign in to comment.