From e8bf0e29be7a92134513ee99c9978f056597a926 Mon Sep 17 00:00:00 2001 From: Alessandro Pieve Date: Thu, 16 Feb 2017 11:21:16 +0000 Subject: [PATCH] git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-analytics-persistence-couchbase@142600 82a268e6-3cf1-43bd-a215-b396298e98cf --- pom.xml | 4 ++++ .../couchbase/AccountingPersistenceQueryCouchBase.java | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 8a72f76..a50342c 100644 --- a/pom.xml +++ b/pom.xml @@ -62,6 +62,10 @@ java-client 2.2.7 + + + + org.json diff --git a/src/main/java/org/gcube/accounting/analytics/persistence/couchbase/AccountingPersistenceQueryCouchBase.java b/src/main/java/org/gcube/accounting/analytics/persistence/couchbase/AccountingPersistenceQueryCouchBase.java index b7de2f3..8d7864e 100644 --- a/src/main/java/org/gcube/accounting/analytics/persistence/couchbase/AccountingPersistenceQueryCouchBase.java +++ b/src/main/java/org/gcube/accounting/analytics/persistence/couchbase/AccountingPersistenceQueryCouchBase.java @@ -98,12 +98,13 @@ AccountingPersistenceBackendQuery { public static final String DESIGN_DOC_ID_LIST_USAGE="ListUsage"; public static final long ENV_TIME_OUT=240000; + public static final long QUERY_TIME_OUT=360000; /* The environment configuration */ protected static final CouchbaseEnvironment ENV = DefaultCouchbaseEnvironment .builder() - .connectTimeout(ENV_TIME_OUT) - .maxRequestLifetime(ENV_TIME_OUT) - .queryTimeout(ENV_TIME_OUT).build(); + .connectTimeout(QUERY_TIME_OUT) + .maxRequestLifetime(QUERY_TIME_OUT) + .queryTimeout(QUERY_TIME_OUT).build(); protected Cluster cluster;