openwhisk-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-openwhisk] rabbah edited a comment on issue #4388: Adapt limit to query db view as per couch db change
Date Mon, 25 Mar 2019 14:19:36 GMT
rabbah edited a comment on issue #4388: Adapt limit to query db view as per couch db change
URL: https://github.com/apache/incubator-openwhisk/pull/4388#issuecomment-476216332
 
 
   The couchdb client in openwhisk should omit the `limit` query parameter when the value
is set to `0`:
   https://github.com/apache/incubator-openwhisk/blob/be1e3a19c02956c9be85023a0bb0ff399c21444d/common/scala/src/main/scala/org/apache/openwhisk/core/database/CouchDbRestClient.scala#L124
   
   Also per the javadoc: https://github.com/apache/incubator-openwhisk/blob/be1e3a19c02956c9be85023a0bb0ff399c21444d/common/scala/src/main/scala/org/apache/openwhisk/core/database/ArtifactStore.scala#L90
   
   So the caller (here the invoker) should set the value to `0` to indicate no limit.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message