Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
22473 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
dez. 18
5303
4
mar. 18
6076
2
fev. 18
20020
1
nov. 21
11229
0
jan. 17
2376