How long will a job stay pending for?

when i start a job whilst another one is going how long will that job stay pending for?
an hour? 2 hours? forever?

@Rowley101

I guess job will be in Pending state forever.

Hi there @Rowley101,
As @lakshman highlighted, I believe it will remain in the state indefinitely.

Reviewing the documentation, there is no mention of a maximum pending time:
Job States (uipath.com)

Furthermore, from experience, I have seen Pending Jobs remain for an extended period of time, such as when a target VM is offline.

Thanks once again,
Josh