Is there a limit for how long a build is allowed to take?

Is this limit documented anywhere?