-
-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get-hostname caches exceptions #303
Comments
Hi @xificurC, with what version of Timbre are you seeing this? Are you able to provide a reproducible example? Thanks! |
Not sure precisely what's happening in your case, but have made |
Hi @ptaoussanis , I'm sorry but I no longer have the code and version in a format where I could easily reproduce this. I think the sequence was
Any other log calls would throw at that point. However if I waited 60 seconds then the logs started working. Does that make sense? I remember thinking a solution would be to not cache exceptions. |
@xificurC Thanks for the quick response! Exceptions aren't cached, and actually the code to fetch the hostname also traps exceptions.
Have made a mod that will cover the second case. Beyond that will suggest that this can probably be closed for now, and someone can reopen if they run into trouble again with the upcoming release. |
Closing for now as part of issue triage, please feel free to reopen if this is still relevant! |
I'm interrupting a thread group and occasionally the interrupt renders most of my code unusable. The reason seems to be that
get-hostname
caches the InterruptedException for 1 minute.The text was updated successfully, but these errors were encountered: