Commit a1036fe
committed
fix: Make sure getNumConcurrentPreviews never returns 0
Tests were stuck forever waiting for a semaphore because concurrency was
returning 0. It was previously working by chance because cache of the
value in a static var was leaking through tests.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>1 parent ab6109b commit a1036fe
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
309 | 312 | | |
310 | 313 | | |
311 | 314 | | |
| |||
0 commit comments