[nginx] Core: fixed comment about ngx_current_msec after 81fae70d6cb8.

Ruslan Ermilov ru at nginx.com
Wed May 30 08:13:52 UTC 2018


details:   http://hg.nginx.org/nginx/rev/76e7e20cda05
branches:  
changeset: 7280:76e7e20cda05
user:      Ruslan Ermilov <ru at nginx.com>
date:      Tue May 29 16:15:19 2018 +0300
description:
Core: fixed comment about ngx_current_msec after 81fae70d6cb8.

The value is no longer guaranteed to be based on milliseconds
elapsed since Epoch.

diffstat:

 src/core/ngx_times.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r f95de1361039 -r 76e7e20cda05 src/core/ngx_times.h
--- a/src/core/ngx_times.h	Tue May 29 11:47:32 2018 +0300
+++ b/src/core/ngx_times.h	Tue May 29 16:15:19 2018 +0300
@@ -43,8 +43,8 @@ extern volatile ngx_str_t    ngx_cached_
 extern volatile ngx_str_t    ngx_cached_syslog_time;
 
 /*
- * milliseconds elapsed since epoch and truncated to ngx_msec_t,
- * used in event timers
+ * milliseconds elapsed since some unspecified point in the past
+ * and truncated to ngx_msec_t, used in event timers
  */
 extern volatile ngx_msec_t  ngx_current_msec;
 


More information about the nginx-devel mailing list