You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello. Sorry for moving the post.
I want to create a function that uses watchLog() and websocket to deliver a log of a pod to the user in real time. The function works normally, but there is a problem in the part where the user disconnects the connection. AfterConnectionClosed is executed when the websocket connection is closed, but the problem is that the method is not executed while watchLog() is running.
This part receives the log in real time and delivers it to the client. Is there a place to edit that part?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hello. Sorry for moving the post.
I want to create a function that uses watchLog() and websocket to deliver a log of a pod to the user in real time. The function works normally, but there is a problem in the part where the user disconnects the connection. AfterConnectionClosed is executed when the websocket connection is closed, but the problem is that the method is not executed while watchLog() is running.
This part receives the log in real time and delivers it to the client. Is there a place to edit that part?
Beta Was this translation helpful? Give feedback.
All reactions