Skip to content

Commit

Permalink
Missing caches
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed May 14, 2024
1 parent bdc3b86 commit 6627bf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions queue_services/account-mailer/src/account_mailer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from auth_api.resources.ops import bp as ops_bp
from auth_api.services.flags import flags
from auth_api.services.gcp_queue import queue
from auth_api.utils.cache import cache
from flask import Flask
from sentry_sdk.integrations.flask import FlaskIntegration

Expand Down Expand Up @@ -57,6 +58,7 @@ def create_app(run_mode=os.getenv('DEPLOYMENT_ENV', 'production')) -> Flask:

db.init_app(app)
flags.init_app(app)
cache.init_app(app)
queue.init_app(app)

register_endpoints(app)
Expand Down
2 changes: 2 additions & 0 deletions queue_services/auth-queue/src/auth_queue/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from auth_api.resources.ops import bp as ops_bp
from auth_api.services.flags import flags
from auth_api.services.gcp_queue import queue
from auth_api.utils.cache import cache
from flask import Flask
from sentry_sdk.integrations.flask import FlaskIntegration

Expand Down Expand Up @@ -52,6 +53,7 @@ def create_app(run_mode=os.getenv('DEPLOYMENT_ENV', 'production')) -> Flask:

db.init_app(app)
flags.init_app(app)
cache.init_app(app)
queue.init_app(app)

register_endpoints(app)
Expand Down

0 comments on commit 6627bf6

Please sign in to comment.