Closed karlprieb closed 4 months ago
src/database/standalone-sqlite.ts
[error] 2816-2816: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2820-2820: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2827-2827: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2839-2839: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2852-2852: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2868-2868: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2873-2873: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2877-2877: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2881-2881: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2889-2889: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2893-2893: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2897-2897: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2901-2901: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2905-2905: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block. --- [error] 2909-2909: Other switch clauses can erroneously access this declaration. Wrap the declaration in a block to restrict its access to the switch clause. (lint/correctness/noSwitchDeclarations) The declaration is defined in this switch clause: Unsafe fix: Wrap the declaration in a block.
src/database/standalone-sqlite.ts (1)
`75-75`: Reduced wait time for bundle reprocessing. The change from 4 hours to 15 minutes for `BUNDLE_REPROCESS_WAIT_SECS` aligns with the PR's objective to optimize the reprocessing interval. Ensure that this shorter interval does not lead to excessive database load or conflicts.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 64.50%. Comparing base (
db73c69
) to head (559c6cd
). Report is 1 commits behind head on develop.:exclamation: Current head 559c6cd differs from pull request most recent head aea388c
Please upload reports for the commit aea388c to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Changed order for selectFailedBundleIds query. Now order combine
import_attempt_count
andlast_queued_at
. Added an indexed forimport_attempt_count
andlast_queued_at
.