在石墨中运行自定义功能时如何增加超时时间?

问题描述

我目前正尝试在Graphite中添加自定义函数,如下所述:https://graphite.readthedocs.io/en/stable/functions.html#function-plugins

我正在通过在https://hub.docker.com/r/graphiteapp/graphite-statsd/

中找到的Docker映像来设置Graphite。

函数需要花费大量时间来计算,并且在60秒后我得到了这样的响应

<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>502 Gateway Time-out</h1></center>
<hr><center>Nginx/1.18.0</center>
</body>

请注意,当运行较少的数据并且计算时间少于60秒时,一切正常。

我认为配置中有一个超时设置,但是找不到。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)