KnightHacks / hackathon-2021-backend

The backend api for Knight Hacks.
https://api.knighthacks.org/apidocs/
MIT License
3 stars 3 forks source link

Fix slow transactions #63

Closed TorrentofShame closed 3 years ago

TorrentofShame commented 3 years ago

Changes the k8s manifest for the backend deployment to allow for higher cpu limit and higher resource requests.

Also adds more Sentry Spans to help track performance of the create_hacker endpoint; however, is not apart of #62.

Checklist:

github-actions[bot] commented 3 years ago

File Coverage
All files 72% :x:
src/__init__.py 86% :white_check_mark:
src/api/__init__.py 85% :white_check_mark:
src/api/auth.py 43% :x:
src/api/club_events.py 66% :x:
src/api/email_verification.py 35% :x:
src/api/hackers.py 55% :x:
src/common/decorators.py 87% :white_check_mark:
src/common/init_defaults.py 56% :x:
src/common/json.py 77% :white_check_mark:
src/common/jwt.py 66% :x:
src/common/mail.py 45% :x:
src/models/hacker.py 95% :white_check_mark:
src/models/sponsor.py 64% :x:
src/models/user.py 88% :white_check_mark:
src/tasks/__init__.py 78% :white_check_mark:
src/tasks/clubevent_tasks.py 19% :x:
src/tasks/mail_tasks.py 45% :x:

Minimum allowed coverage is 75%

Generated by :monkey: cobertura-action against d379f8be406a343c8e9efcb3b5e8b68ab821f683