facebook / facebook/duckling

Unable to parse strings containing a lot of time intervals

未关闭
#312 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Haskell
星标
4.3k
派生
740
PR 合并指标
30 天内没有已合并 PR

描述

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)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。