diff --git a/clients/metadata/metadata_cassandra.go b/clients/metadata/metadata_cassandra.go index 354b2b3b..6c10fbd8 100644 --- a/clients/metadata/metadata_cassandra.go +++ b/clients/metadata/metadata_cassandra.go @@ -180,7 +180,7 @@ const defaultDeleteTTLSeconds = int64(time.Hour*24*30) / int64(time.Second) const destinationCacheSize = 1048576 const consumerGroupCacheSize = 1048576 -const cacheTTL = time.Second +const cacheTTL = 10 * time.Second // CassandraMetadataService Implements TChanMetadataServiceClient interface // TODO: Convert all errors to the ones defined in the thrift API. diff --git a/services/retentionmgr/metadataDep.go b/services/retentionmgr/metadataDep.go index 27fdb2e4..5f5184ae 100644 --- a/services/retentionmgr/metadataDep.go +++ b/services/retentionmgr/metadataDep.go @@ -92,7 +92,7 @@ func (t *metadataDepImpl) GetDestinations() (destinations []*destinationInfo, er `status`: dest.status, `hardRetention`: dest.hardRetention, `softRetention`: dest.softRetention, - }).Info("GetDestinations: ListDestinationsByUUID output") + }).Debug("GetDestinations: ListDestinationsByUUID output") } if len(resp.GetNextPageToken()) == 0 {