You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/12/04 16:33:07 UTC

[GitHub] chetanmeh opened a new issue #390: wsk activation poll does not update the since time

chetanmeh opened a new issue #390: wsk activation poll does not update the since time
URL: https://github.com/apache/incubator-openwhisk-cli/issues/390
 
 
   `wsk activation poll` when invoked without any explicit time parameters performs a query like 
   
   ```
   /api/v1/namespaces/_/activations?docs=true&limit=0&since=1542422386538&skip=0
   ```
   
   Where it fetches full docs without any explicit limit and `since` set to epoch time at the start of poll. At times we have seen queries where the difference between current time and `since` is in days
   
   ```
   [2018-12-04T15:15:10.467Z] [INFO] [#tid_1rrQBHlr8f8Xomky3qi3fsELzTIpH7CB] GET /api/v1/namespaces/_/activations docs=true&limit=0&since=1543338217244&skip=0
   ```
   
   Here _1543338217244_ is ~ Nov-27. This happens because some developers tend to leave poll command running in some forgotten console tab. Due to this each such poll command tries to fetch same set of 200 records (due to limit=0) over and over again putting load on db 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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