Commit b4f8ec5
authored
pubsub: eventually stop polling after termination (googleapis#2113)
Update googleapis#2103.
This does not completely fix the problem.
If an RPC is started before the shutdown, the RPC won't be canceled.
Depending on how the channels and executors are set up,
messages in the said RPCs might be lease-extended.
With this PR, at least we're not polling forever anymore.1 parent 65d5aad commit b4f8ec5
1 file changed
Lines changed: 6 additions & 1 deletion
File tree
- google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/spi/v1
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
201 | 204 | | |
202 | 205 | | |
203 | 206 | | |
204 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
205 | 210 | | |
206 | 211 | | |
207 | 212 | | |
| |||
0 commit comments