Skip to content

Watch stops working after 4 days and receives duplicate events on delete pod #1239

Closed Answered by Kruti-Joshi
Kruti-Joshi asked this question in Q&A
Discussion options

You must be logged in to vote

The issue was resolved by removing ConfigureAwait(false) in the startup during initialization.
The above code remains the same.
In startup, we earlier had
service.WatchPodsAsync().ConfigureAwait(false);
and this was changed to
service.WatchPodsAsync()

The watcher is no longer stopping.

Replies: 8 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@Kruti-Joshi
Comment options

@tg123
Comment options

@tg123
Comment options

@Kruti-Joshi
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Kruti-Joshi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1233 on March 18, 2023 12:34.