Skip to content

Commit

Permalink
test1
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-code committed Jul 16, 2024
1 parent 96bd00d commit b2601f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/app/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ def init_web3(app):
w3.middleware_onion.add(middleware.time_based_cache_middleware)
w3.middleware_onion.add(middleware.latest_block_based_cache_middleware)
w3.middleware_onion.add(middleware.simple_cache_middleware)
w3.middleware_onion.add(
_create_cache(
app, 600, is_glm_or_projects_contract, _generic_should_cache_web3
)
)
# w3.middleware_onion.add(
# _create_cache(
# app, 600, is_glm_or_projects_contract, _generic_should_cache_web3
# )
# )
w3.middleware_onion.add(
_create_cache(app, 60, is_epochs_or_deposits_contract, (lambda x: True))
)
Expand Down

0 comments on commit b2601f8

Please sign in to comment.