This question has been flagged
1 Reply
19811 Views

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

Avatar
Discard
Best Answer

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

Avatar
Discard