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.

Consider patching https://github.com/aspnet/Extensions/issues/1041 in 2.2

See original GitHub issue

Impact

It’s not possible to set the Period of the health check publisher hosted service without using reflection. The wrong backing field is set.

This isn’t very discoverable because the bug manifests in a setting not being honoured. You might think you are publishing health data every 30 seconds, but it’s going to always use the default period.

Workaround

The workaround is to use reflection.

Risk

The risk here is that someone is setting Period - which actually sets Delay and they are relying on this detail. If a user actually wanted to set Delay, they can already do that.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
guardrexcommented, Mar 27, 2019

The issue is already crosslinked, so we’re good on the docs side.

0reactions
rynowakcommented, Apr 24, 2019

Done and verified

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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