-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
refresh ops shouldn't have a timeout #3652
Comments
Very few projects would need a bigger timeout and the users can easily change it. I’m not sure there’s much we can improve here.
On Thu, May 2, 2024, at 7:00 PM, vemv wrote:
`nrepl-send-sync-request: Sync nREPL request timed out (op refresh-clear) after 10 secs
`
… Messages such as these don't make much sense to me. Code reloading can take arbitrarily long.
Timing out can invite the user to try again while code reloading is already in progress (thankfully we have `locking` in place, but still leads to unnecessary queueing)
I'd say that for these ops in particular, we could have a timeout of about 3 minutes?
—
Reply to this email directly, view it on GitHub <#3652>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAZLSQDMQVGCYYQHV5PV4LZAJWK7AVCNFSM6AAAAABHEC2S4SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TMMBSHEZTSMY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I see things differently - many commercial-sized projects can easily need 30s+ for a full-blown refresh. Also, users don't necessarily are familar with (or even will pay much attention to) "nrepl timeouts". Test suite running is similarly unbounded? |
A touch more of tech analysis:
A very cool alternative approach would be to remove the |
Messages such as these don't make much sense to me. Code reloading can take arbitrarily long.
Timing out can invite the user to try again while code reloading is already in progress (thankfully we have
locking
in place, but still leads to unnecessary queueing)I'd say that for these ops in particular, we could have a timeout of about 3 minutes?
The text was updated successfully, but these errors were encountered: