How often should I expect to see this? It happens ...
# general
h
How often should I expect to see this? It happens more than I expect and causes some noticeable overhead of starting things up each time it appears.
Copy code
13:57:41.45 [INFO] Initialization options changed: reinitializing scheduler...
đź‘€ 1
c
Thanks for reminding me. There’s been a recent lead this may be caused by unsorted data in the “help all” structure causing spurious restarts, potentially. I’ll be looking into it.
w
Is there some hook to determine extra info on restarts? Like, anything that could kick off a restart comes with a "reason"?
h
Nate it could be our glob-based pants ignore in pants.toml
Maybe when you switch branches or pull in new code the ignore.add evaluates to something new
h
True. Though I think I was seeing this even on the same branch in successive calls non-deterministically.
That list has grown enough that we should probably either remove it or use the
.remove
syntax to start opting out of what we don't want instead of opt in.
h
Was it accompanied by a pantsd restart? Our 2 GB memory limit runs out fast
🤷 1
I agree with switching to opt out