Commit d9d658b
feat: Make StreamingPull fail after 100 consecutive failures
With a max backoff of 30 seconds (which we reach pretty quickly)
this means we'll only actually fail after about 45 minutes, so it
does allow quite a lot of time for recovery.1 parent 335abae commit d9d658b
2 files changed
Lines changed: 33 additions & 4 deletions
File tree
- apis/Google.Cloud.PubSub.V1
- Google.Cloud.PubSub.V1.Tests
- Google.Cloud.PubSub.V1
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
1784 | 1785 | | |
1785 | 1786 | | |
1786 | 1787 | | |
1787 | | - | |
| 1788 | + | |
1788 | 1789 | | |
1789 | 1790 | | |
1790 | 1791 | | |
| |||
1801 | 1802 | | |
1802 | 1803 | | |
1803 | 1804 | | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
1804 | 1823 | | |
1805 | 1824 | | |
1806 | 1825 | | |
| |||
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1122 | 1122 | | |
1123 | 1123 | | |
1124 | 1124 | | |
1125 | | - | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
1126 | 1130 | | |
1127 | 1131 | | |
1128 | 1132 | | |
| |||
1160 | 1164 | | |
1161 | 1165 | | |
1162 | 1166 | | |
1163 | | - | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
1164 | 1172 | | |
1165 | | - | |
| 1173 | + | |
1166 | 1174 | | |
1167 | 1175 | | |
1168 | 1176 | | |
| |||
1183 | 1191 | | |
1184 | 1192 | | |
1185 | 1193 | | |
| 1194 | + | |
| 1195 | + | |
1186 | 1196 | | |
1187 | 1197 | | |
1188 | 1198 | | |
| |||
0 commit comments