Commit eef6d94
This commit fixes error when updating multiple confluence attachments (#13341)
* This commit fixes error when updating multiple confluence attachments
Essentially, it uploads attachments one at a time instead of in
parallel. Currently using a 0.8 second delay.
* Fix indentation: convert tabs to spaces in attachment upload loop
* Use existing sleep() helper instead of inline setTimeout
* Extract attachment upload delay to named constant
* Skip delay after last attachment upload
* Preserve AttachmentSummary types instead of erasing to unknown
* Remove redundant sleep timing trace
* Add changelog entry for Confluence attachment upload fix (#12558)
---------
Co-authored-by: Fred Gruber <[email protected]>
Co-authored-by: Christophe Dervieux <[email protected]>1 parent c875f08 commit eef6d94
3 files changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
435 | 436 | | |
436 | 437 | | |
437 | 438 | | |
438 | | - | |
439 | | - | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
440 | 444 | | |
441 | | - | |
| 445 | + | |
442 | 446 | | |
443 | 447 | | |
444 | 448 | | |
445 | | - | |
446 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
447 | 458 | | |
448 | 459 | | |
449 | 460 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
0 commit comments