コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
22489 ビュー

Hi, I'm newbie in odoo. I've worked in PHP, and others. I'm uploading a very large file on Odoo, but it times-out. 

I want to ask what is alternative to PHP's  php.ini file in Odoo. Like in php.ini file, we can change server time-out, memory limit and other configurations, how can I do the same in Odoo? Though I've made changes in openerp-wsgi.py, but they're not reflected.

Thanks,

Abdul

アバター
破棄
最善の回答

Hi,

You can set attribute in config file cpu_time_limit = 15000.  Hopefully this will resolve your issue. 

 

[Config file]

[options]
admin_passwd = adminadmin

addons_path = /opt/openerp/7.0/server-addons

db_name = openerp70

syslog = True
syslog_facility = local3
log_level = debug

cpu_time_limit = 1500
max_cron_threads = 0

 

Start your server like python openerp-server -c /path/openerp.config

アバター
破棄
関連投稿 返信 ビュー 活動
0
12月 18
5315
4
3月 18
6081
2
2月 18
20031
1
11月 21
11238
0
1月 17
2378