Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
7e2ac56e
Commit
7e2ac56e
authored
Mar 25, 2014
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an XXX comment about turning off unnecessary timestamps
parent
7b5ee1a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
cache_shmlog.c
bin/varnishd/cache/cache_shmlog.c
+4
-0
No files found.
bin/varnishd/cache/cache_shmlog.c
View file @
7e2ac56e
...
...
@@ -355,6 +355,10 @@ VSLb_ts(struct vsl_log *vsl, const char *event, double first, double *pprev,
double
now
)
{
/* XXX: Make an option to turn off some unnecessary timestamp
logging. This must be done carefully because some functions
(e.g. WRW_Reserve) takes the last timestamp as it's inital
value for timeout calculation. */
assert
(
!
isnan
(
now
)
&&
now
!=
0
.);
VSLb
(
vsl
,
SLT_Timestamp
,
"%s: %.6f %.6f %.6f"
,
event
,
now
,
now
-
first
,
now
-
*
pprev
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment