]> git.kaiwu.me - nginx.git/commitdiff
Core: fixed comment about ngx_current_msec after 81fae70d6cb8.
authorRuslan Ermilov <ru@nginx.com>
Tue, 29 May 2018 13:15:19 +0000 (16:15 +0300)
committerRuslan Ermilov <ru@nginx.com>
Tue, 29 May 2018 13:15:19 +0000 (16:15 +0300)
The value is no longer guaranteed to be based on milliseconds
elapsed since Epoch.

src/core/ngx_times.h

index 94aedcdc94cb2be7aa9f138455dab86d6789c678..49e0a8c48fa5930ff7c4d4491dd5cf525eaafc4d 100644 (file)
@@ -43,8 +43,8 @@ extern volatile ngx_str_t    ngx_cached_http_log_iso8601;
 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;