Repository navigation
fix(sources): never pay Indian Kanoon again for a judgment whose case is waiting to publish - #276
Merged
Merged
Conversation
… is waiting to publish While publishing was blocked (12-14 October), Indian Kanoon downloaded the same 38 judgments three days running: their cases were waiting on data-staging, and my check for already-handled judgments (#262) didn't count waiting ones. That likely used up the account credit, and the source has been refused since the 15th. A waiting case is carried over anyway, so its judgment is now treated as handled. A judgment whose extraction failed is still retried.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While publishing was blocked (12–14 October), Indian Kanoon downloaded the same 38 judgments three days running. Their cases were waiting on
data-staging, and my check for already-handled judgments (#262) didn't count waiting ones as handled. That likely used up the account credit; the source has been refused (HTTP 403) since the 15th.A waiting case is carried over from
data-staginganyway, so its judgment is now treated as handled. A judgment whose extraction failed is still retried.A test covers all four cases: settled, waiting, failed and new.
make checkis green.