You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/06/28 12:49:41 UTC

[GitHub] sven-lange-last commented on issue #2434: Deterministic container removal for test.

sven-lange-last commented on issue #2434: Deterministic container removal for test.
URL: https://github.com/apache/incubator-openwhisk/pull/2434#issuecomment-311649994
 
 
   Looks good to me. With the change, `containers(0)` now has `lastUsed = Instant.EPOCH` which is earlier than `containers(1)` with `lastUsed = Instant.now`. For this reason, the LRU strategy of `ContainerPool.remove()` will always select `containers(0)` for removal.
 
----------------------------------------------------------------
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