Commit ca6c26f
committed
fix: Await for
In previous implementation we did not await for the
`persistVirtualDocuments()` result before completing the request
This was done because the persistance was not mandatory for the
request's result and doing it in parallel would be a good way to
optimize timings
But in some recent experiments we found a scenario where we would
benefit from the `await` in order to some external code until the data
is actually persisted
Related PR: #1486persistVirtualDocuments result before finishing request1 parent 6303b3c commit ca6c26f
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1093 | 1093 | | |
1094 | 1094 | | |
1095 | 1095 | | |
1096 | | - | |
| 1096 | + | |
1097 | 1097 | | |
1098 | 1098 | | |
1099 | 1099 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments