magnusja / libaums

Open source library to access USB Mass Storage devices on Android without rooting your device
Apache License 2.0
1.26k stars 270 forks source link

Reduce error recovery attempts #368

Closed depau closed 1 year ago

depau commented 1 year ago

When using the Android communication there's an internal timeout somewhere and each attempt takes over a second, causing the operation to fail after over 20s.

Also it doesn't appear like resuscitation works most time after more than a few retries, why did we set it so high?

codecov[bot] commented 1 year ago

Codecov Report

Merging #368 (4186f24) into develop (92b60a9) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #368   +/-   ##
==========================================
  Coverage      57.59%   57.59%           
  Complexity       367      367           
==========================================
  Files             48       48           
  Lines           1738     1738           
  Branches         241      241           
==========================================
  Hits            1001     1001           
  Misses           665      665           
  Partials          72       72           
Impacted Files Coverage Δ
...jahnen/libaums/core/driver/scsi/ScsiBlockDevice.kt 0.00% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more