Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
22479 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
груд. 18
5310
4
бер. 18
6080
2
лют. 18
20025
1
лист. 21
11233
0
січ. 17
2377