2 ms·
> you can specify It's nice to have the option of specifying such limits, but not all programs are batch jobs. For example, the correct CPU time cap for a HTTP
by chriswarbo 6y ago
> you can specify
It's nice to have the option of specifying such limits, but not all programs are batch jobs. For example, the correct CPU time cap for a HTTP server is infinity. Likewise, if that server were written as a recursive function then the correct stack size would be infinity:
def serve(request):
response = process(request)
socket.send(response)
serve(socket.receive())