Closed ale-rt closed 4 years ago
I thought it worked by now, after your fix #147. Is this a different problem? How can we reproduce this?
I updated the issue description with more info. I spotted the issue while coding #147 but it is an unrelated problem that was already present. It is a really simple fix to do (will try to provide a patch ASAP) it will probably take less time then explain it.
I have merged your fix.
Out of curiosity: what is the use of multiple ports? Are you using this yourself?
I can guess one use:
You could also use two zeoclients, each listening on one port, but that takes more resources (mostly some memory).
Actually I am not using it at all!
Thanks for fixing it anyway. :-D
Given that
is equivalent to:
I would expect that
would be equivalent to:
Unfortunately this is not the case. The instance will fail to start in two different ways according to the value of
http-fast-listen
(on
oroff
).For fast listen it will break in this line: https://github.com/plone/plone.recipe.zope2instance/blob/d610f9c35459bf73a99ff99e091e28c52deab165/src/plone/recipe/zope2instance/ctl.py#L919 because of:
It should be something like:
With fast listen off it will break with:
I assume a similar simple fix will do the trick.