Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed

- Fixed issues with initial flicker in `TextArea` rendering https://github.com/Textualize/textual/issues/5841

## Unreleased
- Fixed issue with workers that have large parameter lists breaking dev tools

### Added

Expand Down
4 changes: 3 additions & 1 deletion src/textual/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ def __init__(
self._work = work
self.name = name
self.group = group
self.description = description
self.description = (
description if len(description) <= 1000 else description[:1000] + "..."
)
self.exit_on_error = exit_on_error
self.cancelled_event: Event = Event()
"""A threading event set when the worker is cancelled."""
Expand Down
Loading