question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow configuration of workers to back off completely if the server is not available

See original GitHub issue

Is your feature request related to a problem? Please describe. I want the workers to stop trying to connecting to the server if the server is not available using WorkflowServiceStubsOptions

Describe the solution you’d like I’d like to configure workers to stop polling/trying to connecting to the server if the server is not available after a specified time period.

Describe alternatives you’ve considered N/A

Additional context Slack discussion https://temporalio.slack.com/archives/CTT84KXK9/p1620663515093300

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
vitarbcommented, May 11, 2021

I think we may have both backoff and a parameter that specifies maximum retry period after which we give up and kill the worker. I can see situations where both types of behavior might be desirable based on the specifics of the deployment infrastructure being used.

0reactions
vkobycommented, May 17, 2021

@eminn Will implement health check. This has already been done in Go SDK see client.go#L417

Read more comments on GitHub >

github_iconTop Results From Across the Web

Avoiding the Top 10 NGINX Configuration Mistakes
We help you avoid the 10 most common NGINX configuration errors, explaining the problems caused by each and how to fix them.
Read more >
Module ngx_http_upstream_module - Nginx.org
Default value is zero, meaning there is no limit. If the server group does not reside in the shared memory, the limitation works...
Read more >
Configure the max worker threads Server Configuration Option
Using SQL Server Management Studio​​ Use the max worker threads option to configure the number of worker threads available to SQL Server ...
Read more >
Configure the bundled Puma instance of the GitLab package
This error occurs when the Web server times out (default: 60 s) after not hearing back from the Puma worker. If the CPU...
Read more >
1.2.5 Running a worker node - Concourse CI
It is possible to have a Concourse cluster made up of only team workers and have zero non-team workers, though this is not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found