]> err.no Git - varnish/commit
Fix #315:
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 12 Sep 2008 08:51:02 +0000 (08:51 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 12 Sep 2008 08:51:02 +0000 (08:51 +0000)
commiteff8ba910eee68d0498dafe1fda92482049dfb26
tree286c38358be6fb6f7bf6fcb806f85e3554a8322a
parent8b94fbffff9bdc4acc2f51980b09393964d80237
Fix #315:

Rename worker->used to worker->lastused and make it an optimization to
set it from a convenient timestamp along the way.

If it is not set when the thread goes on the unemployment queue, expend
a timestamp on setting it.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3182 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_center.c
varnish-cache/bin/varnishd/cache_pool.c