# Run Discord presence on its own isolate · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/c2b2d8e14bd76779792675771a732cfd2e1991e5)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: c2b2d8e14bd76779792675771a732cfd2e1991e5

Requested commit: c2b2d8e14bd76779792675771a732cfd2e1991e5

Commit: c2b2d8e14bd76779792675771a732cfd2e1991e5

Tree: 60387979b2680af4a62a79f5155865b9fcdb4ceb

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Run Discord presence on its own isolate

discord_rich_presence's Windows transport polls the Discord pipe once a
second and calls sleep(50 ms) on the calling isolate in every poll. On the
UI isolate that froze Icarus for 50 ms each second whenever Discord was
running: every drag and animation hitched once a second. The service now
runs on a background isolate, and the app forwards updates to it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

```

## Parents

- [5c6fda7ed3ce4b6534ba9c60cb848544c37c1c5a](https://git.cafe/dara/icarus/commit/5c6fda7ed3ce4b6534ba9c60cb848544c37c1c5a?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/c2b2d8e14bd76779792675771a732cfd2e1991e5?format=markdown)
