Closed sthaha closed 6 years ago
Can one of the admins verify this patch?
@sthaha Not sure why we need this. 200 is seen only when jenkins is running, right? Then, on 200 can't we just proxy to jenkins?
If we get StatusOK, it mean jenkins is running. What's the point of waiting if it is running?
@kishansagathiya
If we get StatusOK, it mean jenkins is running. What's the point of waiting if it is running?
Because running doesn't mean jenkins is really up and running :), It only means the login was successful and at which point, the numerous plugins are/maybe doing something CPU intensive (as observed) and Jenkins fails to load properly.
Note, this delay (loading page ...) is applied only when jenkins is idle.
@sthaha So, If Jenkins pod is up, doesn't mean Jenkins is running?
@kishansagathiya
So, If Jenkins pod is up, doesn't mean Jenkins is running?
It is "running" but not fully operational yet i.e. ready to serve all requests; reached the conclusion based on my observation and also based on the 504 errors we get.
The patch also delays reloading the page so that Jenkins pods get some time after it boots to initialise properly.