Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
22513 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 18
5334
4
thg 3 18
6097
2
thg 2 18
20061
1
thg 11 21
11245
0
thg 1 17
2390