Extending the Gradle Daemon idle timeout

佐手、 提交于 2019-12-01 06:48:05

I had the same problem and looked through sources and found ExternalSystemExecutionSettings.java
So, to increase gradle daemon timeout in IntelliJ Idea add this line to idea.properties file:

external.system.remote.process.idle.ttl.ms=6000000

Well, it turned out that IntelliJ uses the gradle api to set 1 minute for the idle timeout. I fixed that by compiling the gradle launcher with constant value of 3 hours. You can get the file here: gradle-launcher-1.9.jar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!