2024-06-16 10:25:12 发布
网友
我使用的是Ubuntu16版本,运行的是OdooERP系统12.0版本。 在我的应用程序日志文件中,我看到信息显示“虚拟实时限制(178/120s)已达到”。 它究竟意味着什么?它会对我的应用程序造成什么样的损害? 又如何增加虚拟实时时间限制?在
打开配置文件,只需添加以下参数:
limit-time-real 100000
它是一个参数,通过杀死僵尸线程并生成新线程来增加Odoo服务器的弹性。它不会损害您的应用程序,但如果您不更改它,则会限制调试时间。在
根据Odoo自己的文档(见https://www.odoo.com/documentation/12.0/reference/cmdline.html)
limit-time-real Prevents the worker from taking longer than seconds to process a request. If the limit is exceeded, the worker is killed.Differs from limit-time-cpu in that this is a “wall time” limit including e.g. SQL queries.Defaults to 120.
limit-time-real Prevents the worker from taking longer than seconds to process a request. If the limit is exceeded, the worker is killed.
Differs from limit-time-cpu in that this is a “wall time” limit including e.g. SQL queries.
Defaults to 120.
所以,为了能够和平地调试,我运行Odoo,限制时间为99999
打开配置文件,只需添加以下参数:
limit-time-real 100000
它是一个参数,通过杀死僵尸线程并生成新线程来增加Odoo服务器的弹性。它不会损害您的应用程序,但如果您不更改它,则会限制调试时间。在
根据Odoo自己的文档(见https://www.odoo.com/documentation/12.0/reference/cmdline.html)
所以,为了能够和平地调试,我运行Odoo,限制时间为99999
相关问题 更多 >
编程相关推荐