Skip to content
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

do not use size_limit #44

Merged
merged 6 commits into from
Feb 7, 2025
Merged

do not use size_limit #44

merged 6 commits into from
Feb 7, 2025

Conversation

garciampred
Copy link
Collaborator

The adaptor has its own way to measure request size, that must be very fast, as it is called in every click in the forms. We simplify our code removing this.

The adaptor has its own way to measure request size, that must be very fast, as it is called in every click in the forms. We simplify our code removing this.
# Conflicts:
#	cdsobs/ingestion/serialize.py
# Conflicts:
#	cdsobs/ingestion/serialize.py
@garciampred
Copy link
Collaborator Author

This goes with #44

We had two costs estimated, one in the adaptor, inherited, and another in the observations api backend, that was called when querying the catalogue to get the list of assets.

We removed the second, and improved the first adding a simple area weighting to take into account the “area” keyword in the request.

@garciampred garciampred merged commit cd7c5ad into main Feb 7, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant