Are pingInterval and pingTimeout are equivalents of Keep-Alive? #4098
Answered
by
darrachequesne
awesomelike
asked this question in
Q&A
-
I am wondering if the options pingInterval and pingTimeout are for Keep-Alive functionality? I mean, are they for keeping the idle connection unclosed (and not getting 504 Gateway Timeout errors)? |
Beta Was this translation helpful? Give feedback.
Answered by
darrachequesne
Sep 20, 2021
Replies: 1 comment 1 reply
-
No, they are meant to make sure the connection between the client and the server is still up and running. As a side-effect, it indeed prevents 504 Gateway timeout errors too. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
awesomelike
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, they are meant to make sure the connection between the client and the server is still up and running.
As a side-effect, it indeed prevents 504 Gateway timeout errors too.