opendatacube / datacube-ows

Open Data Cube Open Web Services
Other
71 stars 37 forks source link

Only check if max_datasets is being exceeded if it's not set to 0 #1079

Closed alexgleith closed 1 month ago

alexgleith commented 1 month ago

Same as https://github.com/opendatacube/datacube-ows/pull/1077

Should be the same commit too...


πŸ“š Documentation preview πŸ“š: https://datacube-ows--1079.org.readthedocs.build/en/1079/

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.64%. Comparing base (afe6de7) to head (b7f7457). Report is 6 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/opendatacube/datacube-ows/pull/1079/graphs/tree.svg?width=650&height=150&src=pr&token=FWCMaSEoXd&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube)](https://app.codecov.io/gh/opendatacube/datacube-ows/pull/1079?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube) ```diff @@ Coverage Diff @@ ## master #1079 +/- ## ======================================= Coverage 93.64% 93.64% ======================================= Files 43 43 Lines 6510 6510 ======================================= Hits 6096 6096 Misses 414 414 ``` | [Files with missing lines](https://app.codecov.io/gh/opendatacube/datacube-ows/pull/1079?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube) | Coverage Ξ” | | |---|---|---| | [datacube\_ows/resource\_limits.py](https://app.codecov.io/gh/opendatacube/datacube-ows/pull/1079?src=pr&el=tree&filepath=datacube_ows%2Fresource_limits.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-ZGF0YWN1YmVfb3dzL3Jlc291cmNlX2xpbWl0cy5weQ==) | `100.00% <100.00%> (ΓΈ)` | |