r926 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Wed Sep 6 20:46:26 CEST 2006
Author: phk
Date: 2006-09-06 20:46:26 +0200 (Wed, 06 Sep 2006)
New Revision: 926
Modified:
trunk/varnish-cache/bin/varnishd/cache.h
trunk/varnish-cache/bin/varnishd/cache_center.c
Log:
Remove unused timestamp "t0" and save a syscall per request.
Modified: trunk/varnish-cache/bin/varnishd/cache.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache.h 2006-09-06 18:37:17 UTC (rev 925)
+++ trunk/varnish-cache/bin/varnishd/cache.h 2006-09-06 18:46:26 UTC (rev 926)
@@ -267,7 +267,6 @@
/* Various internal stuff */
struct sessmem *mem;
- time_t t0;
struct workreq workreq;
struct acct acct;
Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c 2006-09-06 18:37:17 UTC (rev 925)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c 2006-09-06 18:46:26 UTC (rev 926)
@@ -589,7 +589,6 @@
{
int done;
- sp->t0 = time(NULL);
AZ(sp->vcl);
sp->vcl = VCL_Get();
More information about the varnish-commit
mailing list