Commit 4d3d978
committed
Refactors project document update for clarity and atomicity
Streamlines the workflow for updating project documents by separating
workbench updates from document and version increment logic. Improves
atomicity and clarity in concurrent operations, ensuring that project
documents and their versions remain consistent. Enhances maintainability
and reduces potential race conditions during project modifications.1 parent a68c91e commit 4d3d978
File tree
2 files changed
+26
-26
lines changed- services/web/server/src/simcore_service_webserver/projects
2 files changed
+26
-26
lines changedLines changed: 14 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
958 | 958 | | |
959 | 959 | | |
960 | 960 | | |
961 | | - | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
962 | 970 | | |
963 | 971 | | |
964 | 972 | | |
965 | 973 | | |
966 | 974 | | |
967 | 975 | | |
968 | | - | |
969 | | - | |
| 976 | + | |
| 977 | + | |
970 | 978 | | |
971 | 979 | | |
972 | 980 | | |
973 | 981 | | |
974 | | - | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | 982 | | |
985 | 983 | | |
986 | 984 | | |
987 | 985 | | |
988 | 986 | | |
989 | 987 | | |
990 | | - | |
991 | 988 | | |
992 | 989 | | |
993 | 990 | | |
| |||
1006 | 1003 | | |
1007 | 1004 | | |
1008 | 1005 | | |
1009 | | - | |
1010 | 1006 | | |
1011 | 1007 | | |
1012 | 1008 | | |
1013 | 1009 | | |
1014 | 1010 | | |
1015 | 1011 | | |
1016 | | - | |
| 1012 | + | |
1017 | 1013 | | |
1018 | 1014 | | |
1019 | | - | |
1020 | | - | |
1021 | 1015 | | |
1022 | 1016 | | |
1023 | | - | |
| 1017 | + | |
| 1018 | + | |
1024 | 1019 | | |
1025 | 1020 | | |
1026 | 1021 | | |
| |||
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
206 | 212 | | |
207 | 213 | | |
208 | 214 | | |
209 | 215 | | |
210 | 216 | | |
211 | 217 | | |
212 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
213 | 221 | | |
214 | 222 | | |
215 | 223 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | 224 | | |
222 | 225 | | |
223 | 226 | | |
| |||
244 | 247 | | |
245 | 248 | | |
246 | 249 | | |
247 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
248 | 253 | | |
249 | 254 | | |
250 | 255 | | |
| |||
0 commit comments