When deploying Functions from local machine using
``
doctl serverless . --remote-build
``
There is a max 2 minutes timeout, which may not be enough for several Functions and/or more complex Function being deployed.
An error is received:
``
Error: While deploying action 'app/transcribe' (running remote build): The function exceeded its time limits of 120000 milliseconds.
``
Trying to workaround this using the 'watch' flag in the doctl command is useless, as it is not incremental as it should, besides, not always you want a real-time incremental deployment anyway.
A manual deployment must not fail due to arbitrary timeout while the actual deployment of the Function on the servers are still in progress.