Commit 4574613
committed
nodewatcher: fetch instance type only at start-up
Since the compute node cannot change its instance type it makes no sense
to dynamically fetch this value in the nodewatcher loop.
This change reduces the calls to DescribeStack API which allows a relatively
low TPS
Signed-off-by: Francesco De Martino <fdm@amazon.com>1 parent c3e20a3 commit 4574613
1 file changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
| 300 | + | |
300 | 301 | | |
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
304 | 305 | | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | 306 | | |
314 | 307 | | |
315 | 308 | | |
| |||
0 commit comments