What is the queue timeout in background jobs?

There’re 3 types of background job queues: “short”, “default” and “long”. Each queue type corresponds to a different timeout: 300, 300, and 1500 seconds respectively. This is the timeout of what? of the execution time of each job? or of the amount of time that passed since the job got enqueued?