# compiler: don't queue too much AIR/MIR · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/5bb5aaf932b8ed30aebfbb0036e1532abfc6af46)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 5bb5aaf932b8ed30aebfbb0036e1532abfc6af46

Requested commit: 5bb5aaf932b8ed30aebfbb0036e1532abfc6af46

Commit: 5bb5aaf932b8ed30aebfbb0036e1532abfc6af46

Tree: 059ef1f8ab00e70585895068e5561681d49514f5

Author: mlugg

Committer: mlugg

## Message

```
compiler: don't queue too much AIR/MIR

Without this cap, unlucky scheduling and/or details of what pipeline
stages perform best on the host machine could cause many gigabytes of
MIR to be stuck in the queue. At a certain point, pause the main thread
until some of the functions in flight have been processed.

```

## Parents

- [f9a670d46de3c62be16202f186eacfee6ec096d4](https://git.cafe/gitcafe/zig/commit/f9a670d46de3c62be16202f186eacfee6ec096d4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/5bb5aaf932b8ed30aebfbb0036e1532abfc6af46?format=markdown)
