Page MenuHomePhabricator

Limit input length in Speechoid requests
Closed, ResolvedPublic2 Estimated Story Points

Description

To avoid overloading Speechoid, add an option to limit input. The easiest way to do this is probably just a max length for the input string.

Event Timeline

Lokal_Profil added a subscriber: Lokal_Profil.

Need to have a think about how the user becomes aware of the error.

kalle moved this task from Backlog to In progress on the Wikispeech-Jobrunner (Sprint) board.
kalle added a project: User-kalle.
kalle moved this task from 🥴 Backlog to 🤠 This week on the User-kalle board.

What's a good default limit? I'm setting the config to 280 characters, e.g. what you can fit in a Tweet.

Change 591051 had a related patch set uploaded (by Karl Wettin (WMSE); owner: Karl Wettin (WMSE)):
[mediawiki/extensions/Wikispeech@master] Limit input length in Speechoid requests

https://gerrit.wikimedia.org/r/591051

Increase from 280 to perhaps 2048?

Lokal_Profil changed the point value for this task from 4 to 2.May 14 2020, 8:40 AM

Change 591051 merged by jenkins-bot:
[mediawiki/extensions/Wikispeech@master] Limit input length in Speechoid requests

https://gerrit.wikimedia.org/r/591051