Skip to content

Commit

Permalink
- flask_cache_ was being added as a default key prefix which interfe…
Browse files Browse the repository at this point in the history
…red with the transaction being shown in Sentry UI
  • Loading branch information
lukemun committed Jan 14, 2025
1 parent ded90de commit e0f4631
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flask/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ def __init__(self, import_name, *args, **kwargs):
"CACHE_TYPE": "RedisCache", # Flask-Caching related configs
"CACHE_DEFAULT_TIMEOUT": 300,
"CACHE_REDIS_HOST": redis_host,
"CACHE_REDIS_PORT": redis_port
"CACHE_REDIS_PORT": redis_port,
"CACHE_KEY_PREFIX": None
}

app.config.from_mapping(cache_config)
Expand Down

0 comments on commit e0f4631

Please sign in to comment.