~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/mailman/monkeypatches/xmlrpcrunner.py

  • Committer: Gary Poster
  • Date: 2011-07-27 15:25:32 UTC
  • mto: This revision was merged to the branch mainline in revision 13541.
  • Revision ID: gary.poster@canonical.com-20110727152532-50akr19c7mgcj5qu
add config option for timeout value

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
 
55
55
def get_mailing_list_api_proxy():
56
56
    return xmlrpclib.ServerProxy(
57
 
        mm_cfg.XMLRPC_URL, transport=Transport(timeout=5))
 
57
        mm_cfg.XMLRPC_URL, transport=Transport(timeout=mm_cfg.XMLRPC_TIMEOUT))
58
58
 
59
59
 
60
60
class MailmanErrorUtility(ErrorReportingUtility):