facebook / facebook/duckling

Unable to parse strings containing a lot of time intervals

Offen
#312 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Haskell
Sterne
4.3k
Forks
740
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

An error is logged and the connection is closed abruptly when a string containing a lot of time intervals is sent to parse. This happens when the number of time intervals in the string is more than a certain threshold, it works fine otherwise (the time taken and the cpu usage is very high though).
Can such cases be handled in a more graceful manner?

Here's the error log:
[error.log](https://github.com/facebook/duckling/files/2759070/error.log)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.