Skip to content

Commit

Permalink
[api] increase client side timeout of bugzilla queries to 5 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Jan 24, 2012
1 parent 8271982 commit 0c6c125
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/app/models/issue_tracker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ def private_fetch_issues(ids)

def bugzilla_server
server = XMLRPC::Client.new2("#{self.url}/xmlrpc.cgi")
server.timeout = 300 # 5 minutes timeout
server.user=self.user if self.user
server.password=self.password if self.password
return server.proxy('Bug')
Expand Down

0 comments on commit 0c6c125

Please sign in to comment.