fix(cses): remove verdict poll loop from submit
Problem: The submit method polled for a verdict for up to 120s, but verdicts are never displayed in cp.nvim by design. Solution: Remove the poll loop and `SUBMIT_POLL_TIMEOUT` constant. After a successful POST, immediately return `SubmitResult(success=True)`.
This commit is contained in:
parent
c7f2af16d4
commit
fc2331c242
2 changed files with 3 additions and 36 deletions
|
|
@ -13,4 +13,3 @@ BROWSER_TURNSTILE_POLL = 5000
|
|||
BROWSER_ELEMENT_WAIT = 10000
|
||||
BROWSER_SETTLE_DELAY = 500
|
||||
|
||||
SUBMIT_POLL_TIMEOUT = 30.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue