Enhance consolidated config.yaml and remove extensions.yaml#65
Enhance consolidated config.yaml and remove extensions.yaml#65patritzenfeld merged 4 commits intofmidue:fmiduefrom
Conversation
|
For the purpose of discoverability, I'd suggest to actually add entries (with the current default values) for the |
|
Do we have any way of knowing/experimenting what values of That is, are these actually limiting usage scenarios like several students in a lab room concurrently trying to render their Autotool submissions-to-be via CodeWorld? And could our server handle larger numbers without problems? |
|
Maybe we could just log when one of the semaphores is exhausted, but there's another request waiting, e.g. something like this in place of the plain waitAndLogExhausted name sem action = do
open <- MSem.peekAvail sem
when (open < 1) $
hPutStrLn stderr $ name ++ " has exhausted its available resources, but there is further demand."
MSem.with sem actionwith Then we can see how often requests have to queue up because of the current limit and can try increasing the values. For how much the server can handle I'm not sure yet. I will look into what the setup is and if there's any additional limitations set on the CodeWorld instance compared to Autotool. |
|
Okay, let‘s do the logging stuff in a separate PR. This here can be merged, I think. |
This PR moves the declaration for extra extensions from the
extensions.yamlfile to theconfig.yamlfile.It also adds the
compileoption to adjust how many compiles (default: 4) / error checks (default: 2) can run simultaneously.The new config looks like this: