Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@spirsch
Copy link
Collaborator

@spirsch spirsch commented Jul 13, 2022

This PR is a follow-up to #32.

Since a LocalHostSemaphore's overall waiting time is indefinite, local compilations might exceed the specified timeout of 3min.
Although such a long running execution is unwanted and should be unlikely with a well configured setup, the user and not the client program itself should be actively cancelling the process if required. Whereas on the server we should still limit the execution time to prevent rogue processes, especially since the client would already interpret this timeouting as an RemoteCompilationTimeoutError after 1min and recover via the local compilation fallback.

EDIT: LocalHostSemaphore is not at fault for the behavior I experienced during testing, further investigation is required!
Underlying problem might simply not be fixable if the user has a faulty setup.

@spirsch spirsch requested review from OliLay and wmann-celonis July 13, 2022 10:15
@spirsch spirsch changed the title Fix local compilation timeout Explicit remote compilation timeout Jul 18, 2022
@spirsch spirsch merged commit 0052249 into main Jul 18, 2022
@spirsch spirsch deleted the Fix-local-compilation-timeout branch July 18, 2022 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants