Hi Ashesh,
Regarding your second patch:
It looks like your second patch addresses module loading. This is an improvement over the previous hard timeout, but won’t do anything for the tree issues. The module loading code can also be simplified; we’ve attached a patchset that is tidier, tests the behavior, and speeds up the polling.
Ashesh, can you explain why you are setting the text on the spinner after hiding it, or why you are hiding it rather than removing it?
Regarding your first patch:
Descriptive variable names are clearer than single-letter variable names. Could you clean up the first patch to use clearer variables, perhaps add some tests and break it up into methods so that I can more easily understand what your change does?
Thank you,
Tira & George