Timeouts for builds

Where is the timeout for a nor,al build specified (not the SSH build)?
I would like to be able to keep a circle-ci job running for a while(maybe a few hours). if I put in a sleep command, will the job timeout on its own? Is there a max time for jobs?