Change timeout for inactive terminal

I’m getting the following timeout :
ERROR: terminal inactive for 5m0s, build cancelled

I wonder if it is possible to increase this timeout. How would I do this?

Are you using Drone 0.5?

If so, you can use DRONE_TIMEOUT=10m in the agent configuration, as explained here: http://readme.drone.io/0.5/install/agent-configuration/

Thanks for the link. I looks like it is working.

Is there any way to configure the inactivity on a project-by-project basis instead of at the agent level?