-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix slow schedule_a return for multiple is_active=False
committees
#4792
Comments
by David Z.: |
The root cause for these schedule-a slow queries is the database is doing pin data. |
@fec-jli could you please to generate the exact Query on this. Thanks. |
Thanks @dzhang-fec @hcaofec
|
We can replace the below committee_id to reproduce the issue: Query: |
C00567057
is_active=False
committees
Raising on committee profile page just hanging on waiting api call return for 'C00567057/2020'.
ex: https://www.fec.gov/data/committee/C00567057/?cycle=2020&tab=raising
api call:
https://api.open.fec.gov/v1/schedules/schedule_a/?api_key=DEMO_KEY&sort_hide_null=false&sort_nulls_last=true&sort=-contribution_receipt_date&per_page=10&committee_id=C00567057&two_year_transaction_period=2020&is_individual=true
Action items:
Completion criteria:
The text was updated successfully, but these errors were encountered: