# Queue / Executor

Executor

An executor can run one build at a time, you can think of it as a thread. Your host machine will give you a limit on its own, which depends on the type of task you are running. For example, it is recommended to allocate 2 CPU cores if you run java tests.

You do a lot of build per day, do you need a lot of executors? consult [Broken link](https://romain.gitbook.io/free-commit/build/broken-reference "mention")

<figure><img src="https://910696449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F63PEX7D6niJNueQIYQit%2Fuploads%2F8vA54U2DIHM30lDamfAs%2Fimage.png?alt=media&#x26;token=1b26836a-e80a-4283-af22-df6019c4d8b3" alt=""><figcaption><p>Before click</p></figcaption></figure>

<figure><img src="https://910696449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F63PEX7D6niJNueQIYQit%2Fuploads%2FD1tBLLfwRssWFCEIYqZA%2Fimage.png?alt=media&#x26;token=01d581d0-a5ea-4a06-ac41-1a6de7aec24f" alt=""><figcaption><p>List of your builds</p></figcaption></figure>

### Queue

Nothing extraordinary here, if you request more build than there is available executor, your task will be queued and processed as soon as possible.

<figure><img src="https://910696449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F63PEX7D6niJNueQIYQit%2Fuploads%2FnY2smTKqSl30M2aQR4dG%2Fimage.png?alt=media&#x26;token=3b4409d3-ca5c-4036-b99b-68d1ade44fbe" alt=""><figcaption><p>Before click</p></figcaption></figure>

<figure><img src="https://910696449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F63PEX7D6niJNueQIYQit%2Fuploads%2FWa9arTdmWL0Yb2UF6FRs%2Fimage.png?alt=media&#x26;token=6e87b2b4-5b2e-463c-bf67-06d3cda8d08b" alt=""><figcaption><p>Queued build</p></figcaption></figure>
