Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix that empty message following timeout message #402

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

fishshi
Copy link
Collaborator

@fishshi fishshi commented Nov 17, 2024

In the original timeout handling, Twinny used controller.abort(), which threw an AbortError exception for the fetch operation, causing onEnd?.() in streamResponse to be called.
At the same time, set a longer time (1 min) for timeout.
try to fix #400

Copy link
Collaborator

@rjmacarthy rjmacarthy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Will release to production soon along with the other changes. Many thanks!

@rjmacarthy rjmacarthy merged commit c792f1e into twinnydotdev:development Nov 17, 2024
rjmacarthy added a commit that referenced this pull request Nov 18, 2024
* zh-CN (#397)

* translate zh-HK (#396)

* zh-HK

* zh-HK reserve sapce in the last line for linting

* add onStart and controller to review-service (#401)

* fix that empty message following timeout message (#402)

* Fix something in Chat and ChatService (#403)

* Adjust the order of save and request in handleSubmitForm

* Fix issue when filePaths is undefined.

* add locale switcher

* 3.19.7

* lint

---------

Co-authored-by: Incarnation-of-Wasted-souls <[email protected]>
Co-authored-by: fishshi <[email protected]>
@fishshi fishshi deleted the fix/#400 branch November 18, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants