Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timeout variable to XML RPC #13

Open
nicolasblock opened this issue Nov 19, 2011 · 0 comments
Open

Add timeout variable to XML RPC #13

nicolasblock opened this issue Nov 19, 2011 · 0 comments

Comments

@nicolasblock
Copy link

Magento can be very slow, so it could be cool to add the timeout for the XML RPC client as a config variable. I modified the gem to use XMLRPC.Client.new3 like this

@client = XMLRPC::Client.new3(
:host => config[:host],
:path => config[:path],
:port => config[:port],
:timeout => config[:timeout]
)

But new3 takes a hash so I'm sure there are more elegant ways of passing the config vars to it

nice wrapper! peace,

Nick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant