Permalink
Browse files

increased client timeout to 5mins

  • Loading branch information...
1 parent ca58db0 commit af44103f0fb3f75619ac89eee555d18c95ea190a @gregjan gregjan committed Mar 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 fcrepo-clients/src/main/java/edu/unc/lib/dl/fedora/ManagementClient.java
@@ -464,7 +464,7 @@ public void init() throws Exception {
CommonsHttpMessageSender messageSender = new CommonsHttpMessageSender();
UsernamePasswordCredentials creds = new UsernamePasswordCredentials(this.getUsername(), this.getPassword());
messageSender.setCredentials(creds);
- messageSender.setReadTimeout(30 * 1000);
+ messageSender.setReadTimeout(300 * 1000);
messageSender.afterPropertiesSet();
this.setMessageSender(messageSender);

0 comments on commit af44103

Please sign in to comment.