This is the check for whether the node needs to be updated:
Ultimately the cursor magic is checked in
I believe the updater checks every 15 min.