Skip to content

feat: add timeout in worker#187

Open
stepanrodimanov wants to merge 2 commits into
traffic_filteringfrom
add_timeout
Open

feat: add timeout in worker#187
stepanrodimanov wants to merge 2 commits into
traffic_filteringfrom
add_timeout

Conversation

@stepanrodimanov

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread worker/src/worker.cpp
grpc::ClientContext context;

auto deadline = std::chrono::system_clock::now() + std::chrono::seconds(5);
context.set_deadline(deadline);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

кажется, логировать это нужно еще

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timeout на воркере при запросе

2 participants