Ah - Thanks Renaud !! That's a bit of an ankle bitter...

Is this issue resolved in the main trunk ?

-Fernand

On Jun 22, 2:22 pm, "Renaud (Nel) Morvan" <[EMAIL PROTECTED]>
wrote:
> On Jun 22, 8:31 pm, ry <[EMAIL PROTECTED]> wrote:
>
> > I should note that things work as expected when there is only one
> > server defined. However if there are multiple servers for a role (or
> > multiple roles), I get the above error.
>
> There is a thread safety issue in rc3 which make it impossible to
> deploy on multiple host
>
> Before the next release you can fix it by patching
> establish_connection_to in
> /opt/local/lib/ruby/gems/1.8/gems/capistrano-1.99.2/lib/capistrano/
> configuration/connections.rb
>
> and replace it by
>
>         def establish_connection_to(server)
>           c = connection_factory
>           Thread.new { sessions[server] ||= c.connect_to(server) }
>         end
>
> --
> Renaud Nel Morvanhttp://feedback20.com


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to