Commit 002708e
CLJS-1759: Errors writing transit analysis cache if parallel build
Adds a coarse-grained mutex around the calls to write out transit
analysis cache data. A result of this is that sporadic failures that
only occur when concurrently writing out analysis cache info when
compiling largeish multi-file projects with :parallel-build true is
avoided.
(Perhaps there is some thread-safety defect in the transit-clj stack
yet to be discovered / fixed, and this patch acts as a suitable
workaround until a proper solution is found.)1 parent 86a83d7 commit 002708e
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3110 | 3110 | | |
3111 | 3111 | | |
3112 | 3112 | | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
3113 | 3116 | | |
3114 | 3117 | | |
3115 | 3118 | | |
| |||
3124 | 3127 | | |
3125 | 3128 | | |
3126 | 3129 | | |
3127 | | - | |
3128 | | - | |
3129 | | - | |
3130 | | - | |
| 3130 | + | |
| 3131 | + | |
| 3132 | + | |
| 3133 | + | |
| 3134 | + | |
3131 | 3135 | | |
3132 | 3136 | | |
3133 | 3137 | | |
| |||
0 commit comments