chat.freenode.net #tryton log beginning Sun Jun 26 00:00:02 CEST 2016 | ||
2016-06-26 05:26 -!- frispete(~frispete@p54A91C93.dip0.t-ipconnect.de) has joined #tryton | ||
2016-06-26 09:45 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2016-06-26 10:26 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2016-06-26 11:12 -!- yangoon_rm(~mathiasb@137.158.23.34) has joined #tryton | ||
2016-06-26 11:16 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton | ||
2016-06-26 12:15 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-06-26 12:17 <cedk> sisalp: I guess you did not receive answers for yesterday questions | ||
2016-06-26 12:18 <cedk> sisalp: the database is optional for trytond-cron because it re-use the same code as other command | ||
2016-06-26 12:18 <cedk> sisalp: so if no database is given it will run but for no database | ||
2016-06-26 12:19 <cedk> sisalp: and there is no run once option because it will be less effective as the pool will need to be rebuild at each run | ||
2016-06-26 12:23 <sisalp> cedk: thank you. | ||
2016-06-26 12:24 <sisalp> cedk: my problem is when I create/destroy a database. I have to restart trytond-cron with the new list of db. | ||
2016-06-26 12:24 <sisalp> ced: what happens if a database no longer exists ? | ||
2016-06-26 12:24 <sisalp> cedk: and can I start trytond-cron as many times as databases ? | ||
2016-06-26 12:25 <cedk> sisalp: I think it will crash | ||
2016-06-26 12:25 <sisalp> it will crash for all databases of the list ? | ||
2016-06-26 12:26 <cedk> sisalp: the program stops | ||
2016-06-26 12:27 <cedk> sisalp: it is probably better to run one cron per database | ||
2016-06-26 12:28 <sisalp> cedk: does it cost much ? | ||
2016-06-26 12:28 <cedk> sisalp: just some memory as you will have one Pool per program | ||
2016-06-26 12:28 <cedk> sisalp: otherwise you can just restart the cron with a cleaned DB list | ||
2016-06-26 12:29 <sisalp> cedk: restarting it needs I watch it all the time | ||
2016-06-26 12:30 <cedk> sisalp: watch? | ||
2016-06-26 12:30 <sisalp> cedk: detect it has failed andrestart it with a re-evaluated database list | ||
2016-06-26 12:31 <sisalp> cedk: by the way, I see this new design as a progress | ||
2016-06-26 12:32 <sisalp> cedk: is stopps cron tasks on all non-production databases | ||
2016-06-26 12:33 <sisalp> cedk: and likely, cron tasks will be activated on only one db per trytond server | ||
2016-06-26 12:33 <cedk> sisalp: normally, it should fail only if the database is dropped | ||
2016-06-26 12:34 <cedk> sisalp: if the database creation/drop is managed externaly, you can make this management at this external application | ||
2016-06-26 12:35 <cedk> sisalp: the database management from the client will be removed on the next release, so you can already prepare | ||
2016-06-26 12:39 <sisalp> cedk : I will have a thought about all this. and will tell here. Seems cron on multiple databases should be an exception and so multiple cron processes is an attractive way | ||
2016-06-26 12:39 <sisalp> cedk: everybody agree to remove it from the gtk ? | ||
2016-06-26 12:41 <cedk> sisalp: nobody complained until now: https://bugs.tryton.org/issue5384 | ||
2016-06-26 13:54 -!- frispete(~frispete@p54A91C93.dip0.t-ipconnect.de) has joined #tryton | ||
2016-06-26 17:42 -!- yangoon_rm(~mathiasb@137.158.23.34) has joined #tryton | ||
2016-06-26 17:45 <shrox> cedk: I have done three of the five things you asked me to. Namely, removed the global variables, replaced concatenation with string format % and replaced classes with functions. I'm skeptical about the other two. Can you guide me how I should proceed with 1) creating the manifest file directly without reading the file list after they have been made. 2) handling images while making content.xml instead of reading it again. | ||
2016-06-26 17:46 <shrox> cedk: Of course though, since today is a Sunday, we can talk about this tomorrow. | ||
2016-06-26 20:00 -!- yangoon_rm(~mathiasb@137.158.23.34) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!