Commit f62fcc7
committed
Fix TowerJsonGenerator thread-safety issue (#6619) [ci fast]
Add synchronized to writeObject method to prevent concurrent
modification of the shared stack field when multiple executor
threads serialize JSON simultaneously.
Signed-off-by: Paolo Di Tommaso <[email protected]>1 parent 95c429f commit f62fcc7
File tree
1 file changed
+3
-3
lines changed- plugins/nf-tower/src/main/io/seqera/tower/plugin
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments