Skip to content

Commit

Permalink
Merge pull request #77 from hiren-serpentcs/11.0
Browse files Browse the repository at this point in the history
[Imp]jasper_load: Improved jasper_load module.
  • Loading branch information
JayVora-SerpentCS authored Nov 12, 2018
2 parents d8e1b34 + aa1afad commit de78f58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ Demo reports can be founded in jasper_reports/demo folder.



If you are using workers, do use the jasper_load module and mention the module among the Server Wise load modules.
i.e.: load=web,jasper_load
**If you are using workers, do use the jasper_load module and mention the module among the Server Wise load modules.
i.e.: load=web,jasper_load**

Help us do better by donating to us and motivating us : http://www.serpentcs.com/page/donate-to-serpentcs
Thanks.
8 changes: 4 additions & 4 deletions jasper_load/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ def gevent_server_init(self, app):
""""To overwrite the openerp gevent server __init__ method and changed
xmlrpc port no instead of the longpolling port """

self.port = Config['xmlrpc_port']
self.port = Config['http_port']
self.httpd = None
self.app = app
# config
self.interface = Config['xmlrpc_interface'] or '0.0.0.0'
self.interface = Config['http_interface'] or '0.0.0.0'
# runtime
self.pid = os.getpid()

Expand All @@ -58,8 +58,8 @@ def prefork_server_init(self, app):
""""To overwrite the openerp prefork server __init__ method and changed
longpolling port no instead of the xmlrpc port """

self.address = Config['xmlrpc'] and \
(Config['xmlrpc_interface'] or '0.0.0.0', Config['longpolling_port'])
self.address = Config['http_enable'] and \
(Config['http_interface'] or '0.0.0.0', Config['longpolling_port'])
self.population = Config['workers']
self.timeout = Config['limit_time_real']
self.limit_request = Config['limit_request']
Expand Down

0 comments on commit de78f58

Please sign in to comment.