I was wondering how in that case the node would know when to kill the process? Would this increase my compute units and when it reaches the limit it stops? How would the system know about this? Maybe a timeout? Do you know any sources where I could read about this?
This is a bit not detailed enough: https://docs.solana.com/developing/programming-model/runtime