-
Notifications
You must be signed in to change notification settings - Fork 15
Got "overflow when subtracting duration from instant" when "adapter.get_config()" #11
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
Comments
Good catch, thanks for filing! Using SystemTime and I'm curious what your time setting is? Assuming its normal (April 2024?) |
Is's April 2, 2024 23:04 (UTC+8) on my computer and server. This is the right time. I also did some experiments and found that this may be because I
It always give Hope this information helps. (And sorry for my bad English) |
I have a possible fix out in #12. I was unable to replicate the panic, so could you test the Also I changed |
(Sorry for replying so late) This fix works! The same code (with necessary changes) will no longer panic. Now it gives:
I guess I can change my code to show "N/As ago" or whatever. It doesn't matter. Thanks for your efforts! |
No worries, I'll change |
Just released v0.4.0. Btw your english is good! |
Hello, I got
thread panicked
when runningadapter.get_config()
I'm using Windows 11 and rustc 1.77.1 (7cf61ebde 2024-03-27)
Maybe similar to this issue?
Here's the stacktrace:
Related part of my code:
The text was updated successfully, but these errors were encountered: