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/02/11 12:39:33 UTC

[GitHub] markusthoemmes opened a new pull request #3273: Wait for logs based on intervals not based on total processing time.

markusthoemmes opened a new pull request #3273: Wait for logs based on intervals not based on total processing time.
URL: https://github.com/apache/incubator-openwhisk/pull/3273
 
 
   Writing a large chunk of logs can take quite some time to process. The standard timeout for this process is 2 seconds today. It is bounded, because an action developer might break the action proxy to make sentinels not appear at all which would cause us to infinitely wait on sentinels.
   
   As we process logs after an activation has run though, we can safely rely on the time **between** two logs not exceeding a certain threshold. That way, the complete processing is not bounded by some arbitrary timeout (which can even be too short for large volumes) and is still tight enough to exit early if sentinels really are missing.
   
   Furthermore, an error line is inserted if this timeout hits to inform the user that something might've gone wrong.

----------------------------------------------------------------
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