Commit Graph

41 Commits

Author SHA1 Message Date
Antony Lesuisse 65c0538a83 autoreload, first working version for both python and data, still wip
bzr revid: al@openerp.com-20130909230553-jn26ue5qenv0sd3p
2013-09-10 01:05:53 +02:00
Antony Lesuisse 3bc9a499d4 add signals to increase/decrease number of workers
bzr revid: al@openerp.com-20130909201706-sllijtol7p6mi5nr
2013-09-09 22:17:06 +02:00
Antony Lesuisse 2a6d0299d9 revert to use a separate executable for gevent, add --dev option
bzr revid: al@openerp.com-20130909200825-sm5c3invmg7tt70j
2013-09-09 22:08:25 +02:00
Stephane Wirtel 093dec2ab0 [FIX] Add the platform lib
[IMP] Log when the Long Polling Service is running

bzr revid: stw@openerp.com-20130909131024-23an5cvt1qaa90su
2013-09-09 15:10:24 +02:00
Antony Lesuisse 12580e690a [IMP] openerp threaded, gevent, prefork service cleanup
- unify signal handling
- unify start and stop
no new feature yet, it paves the way for
- developement mode auto reload
- graceful restart on HUP
- multiprocessing and gevent on windows

bzr revid: al@openerp.com-20130908173535-xomt5w7xmqtwkmyy
2013-09-08 19:35:35 +02:00
Martin Trigaux 122f0aa9b3 [FIX] workerst: revert commit 4930, remove useless loop and if condition always validated
bzr revid: mat@openerp.com-20130806094222-w61oolrjo66ulg3n
2013-08-06 11:42:22 +02:00
Martin Trigaux f47ac59b38 [IMP] workers: remove unused code, _acquire_job does not return any value
lp bug: https://launchpad.net/bugs/1193399 fixed

bzr revid: mat@openerp.com-20130806091032-5w6km2pmbl20zicl
2013-08-06 11:10:32 +02:00
Christophe Simonis 955eaca4fa [FIX] multicorn: terminate long-polling process via SIGKILL
bzr revid: chs@openerp.com-20130701153735-xnbb8zauabf1k63u
2013-07-01 17:37:35 +02:00
Christophe Simonis ac8dc26c65 [IMP] WorkerCron: renice process
bzr revid: chs@openerp.com-20130701125548-sgcaf71avwpleml1
2013-07-01 14:55:48 +02:00
Christophe Simonis ad8fcbffa2 [IMP] WorkerCron: make the cron workers not all starting at the first database. Better repartition of work
bzr revid: chs@openerp.com-20130701120345-4687avu7re5pw6sf
2013-07-01 14:03:45 +02:00
Christophe Simonis 180e6e41d8 [FIX] long polling process: strip arguments
bzr revid: chs@openerp.com-20130612153934-qyp6pb3bc4za4taf
2013-06-12 17:39:34 +02:00
niv-openerp d64a8f9f55 changed name of long polling executable
bzr revid: nicolas.vanhoren@openerp.com-20130610164929-1m4r0dls2oz17aqc
2013-06-10 18:49:29 +02:00
niv-openerp 5d5cca0041 First version, does not close correctly
bzr revid: nicolas.vanhoren@openerp.com-20130606123733-j6d2lpcgrvxfa7yr
2013-06-06 14:37:33 +02:00
niv-openerp c30d90e97a [FIX] desperate attempt to solve long polling process freezing
bzr revid: nicolas.vanhoren@openerp.com-20130531095439-leao1mq9p0kvjqaw
2013-05-31 11:54:39 +02:00
Christophe Simonis 185f7552fd [FIX] multicorn: WorkerLongPolling watch for parent change
[IMP] multicorn: WorkerLongPolling log into logger
[IMP] multicorn: Workers closes unwanted sockets

bzr revid: chs@openerp.com-20130530154537-89qrbgi5q1n6fgmh
2013-05-30 17:45:37 +02:00
Vo Minh Thu 307ca374d6 [MERGE] forward merge 7.0 until revision 4919.
bzr revid: vmt@openerp.com-20130404130704-24vsmczw34cssytd
2013-04-04 15:07:04 +02:00
Vo Minh Thu 79bd8db0fd [FIX] WorkerCron: give a chance to process_limit() between each database.
bzr revid: vmt@openerp.com-20130328115905-ddib9g4bbu0kx2wn
2013-03-28 12:59:05 +01:00
niv-openerp ef2ff05d2d [FIX] typo that caused crash in cron only when launching server with --workers
bzr revid: nicolas.vanhoren@openerp.com-20130226161853-26a2vz9tn8nnc44z
2013-02-26 17:18:53 +01:00
niv-openerp b30307da32 Revert 4580
bzr revid: nicolas.vanhoren@openerp.com-20130215123324-m10141rj595x30pl
2013-02-15 13:33:24 +01:00
niv-openerp b5209cbf56 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130215122500-p69xawqym93jauks
2013-02-15 13:25:00 +01:00
Raphael Collet e76befd6c6 [MERGE] trunk-service-thu (remove the class openerp.netsvc.ExportService)
bzr revid: rco@openerp.com-20130212154230-y54s2rbetllwnh4q
2013-02-12 16:42:30 +01:00
Antony Lesuisse d0392a2db0 [FIX] workers no suicide on broken pipe
bzr revid: al@openerp.com-20130209172932-5w8zt239tw0sirne
2013-02-09 18:29:32 +01:00
Vo Minh Thu b4aedf0cc6 [FIX] cron: Looping over all existing databases seems a bad idea (when -d is not given on the command-line).
bzr revid: vmt@openerp.com-20130204165903-gzjghbg7bgjqn5jy
2013-02-04 17:59:03 +01:00
Vo Minh Thu 2c2b6d9506 [REF] service: killed the ExportService concept.
bzr revid: vmt@openerp.com-20130130165812-0hzfnfudi8im0usb
2013-01-30 17:58:12 +01:00
Vo Minh Thu ed0a292f5d [IMP] gevent: no longer a command-line flag (always used in multi-process, never otherwise)
The internal flag is in openerp.__init__ (as the multi_process flag).

bzr revid: vmt@openerp.com-20130118152511-57u4gxyolz0hd4y8
2013-01-18 16:25:11 +01:00
Vo Minh Thu a4120a879a [IMP] long polling: disable the watchdog for the WorkerLongPolling, added command-line option for its port.
bzr revid: vmt@openerp.com-20130117103057-12ez48kj48pntb1g
2013-01-17 11:30:57 +01:00
niv-openerp d211ac7798 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130114102410-m60y4kh8o69u00hc
2013-01-14 11:24:10 +01:00
niv-openerp cb33e09d1b Socket is inited by master process
bzr revid: nicolas.vanhoren@openerp.com-20130110163314-449euw1z69eebtpz
2013-01-10 17:33:14 +01:00
niv-openerp 383314f273 First version working with multicorn
bzr revid: nicolas.vanhoren@openerp.com-20130110161936-4515hhdlamd3d25r
2013-01-10 17:19:36 +01:00
Antony Lesuisse 6c6fa1b7ee [FIX] memory logging for cron workers
bzr revid: al@openerp.com-20121229133616-mbx0732l1uvyb1eo
2012-12-29 14:36:16 +01:00
Antony Lesuisse 551e6bc78d [IMP] memory usage logging
bzr revid: al@openerp.com-20121229125912-rlt4g0b6xhajqxwm
2012-12-29 13:59:12 +01:00
Antony Lesuisse c4fcf264c0 [IMP] workers request count on exit
bzr revid: al@openerp.com-20121211012436-gnr3vxhoye1xf0dh
2012-12-11 02:24:36 +01:00
Antony Lesuisse 0801f22e04 [IMP] workers setproctitle if available
bzr revid: al@openerp.com-20121209215336-rvmy0dejfpmy1awi
2012-12-09 22:53:36 +01:00
Antony Lesuisse cf31a12d94 [IMP] workers cron dont keep cursors
need for saas and demo

bzr revid: al@openerp.com-20121209212242-s3a91vxg8bixqls7
2012-12-09 22:22:42 +01:00
Antony Lesuisse 97ab217893 [IMP] workers cron logging and chorus
bzr revid: al@openerp.com-20121209204544-7w98xboxh6uytz43
2012-12-09 21:45:44 +01:00
Antony Lesuisse 099ae0f70c [IMP] workers better logging
bzr revid: al@openerp.com-20121209203134-sobl1m3q53bjne2i
2012-12-09 21:31:34 +01:00
Antony Lesuisse a4fcf06301 [FIX] temporary fix workers cron for missing openerp.addons.base
bzr revid: al@openerp.com-20121209200018-bvzdy7nhkyo6kaun
2012-12-09 21:00:18 +01:00
Antony Lesuisse 17ec9a3422 [FIX] workers graceful shutdown
bzr revid: al@openerp.com-20121209193022-r4h1ksmqrk2cfnds
2012-12-09 20:30:22 +01:00
Antony Lesuisse e77725eb89 [IMP] improve experience on for openerp developers on windows, notes in setup.py and fix some imports
bzr revid: al@openerp.com-20121107015708-o9l893ll9f32wjcy
2012-11-07 02:57:08 +01:00
Antony Lesuisse 26780da2ef [FIX] fcntl not available on windows
bzr revid: al@openerp.com-20120925000946-7qikupf5rt2hiwx4
2012-09-25 02:09:46 +02:00
Antony Lesuisse 4679680dba manual merge of multicorn
bzr revid: al@openerp.com-20120922105107-q02ogtsfudphzkl6
2012-09-22 12:51:07 +02:00