Commit f6fdfc1
authored
fix: cold start tag (#685)
Fixes #682
In #636 we changed this method and inserted the invocation into the
context buffer before setting the init tags:
[link](94cebb9#diff-689befe07a6fb7b65e3a7ed5c8949970e0fbbc74e0356f56ea8d829159ae5f14R119).
Fix:

This caused the cold start logic to always return false, as it's looking
for that buffer to be empty. A safer implementation could be to check if
the length is 1 and the current request ID matches the item in the
buffer, but this works.1 parent f1fadd6 commit f6fdfc1
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
| |||
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
127 | | - | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
0 commit comments