[
https://issues.apache.org/jira/browse/TS-4096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15067400#comment-15067400
]
ASF GitHub Bot commented on TS-4096:
------------------------------------
GitHub user shukitchan opened a pull request:
https://github.com/apache/trafficserver/pull/394
TS-4096: ts.now() should return subsecond info for ts_lua plugin
@bgaff and @zwoop , pls review
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shukitchan/trafficserver ts-now-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/394.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #394
----
commit 541c273836d62d534b4d93821d5ed7e696fe7ce9
Author: Kit Chan <[email protected]>
Date: 2015-12-22T01:22:49Z
TS-4096: ts.now() should return subsecond info for ts_lua plugin
----
> ts_lua - ts.now() should return subsecond information
> -----------------------------------------------------
>
> Key: TS-4096
> URL: https://issues.apache.org/jira/browse/TS-4096
> Project: Traffic Server
> Issue Type: Bug
> Components: Lua, Plugins
> Reporter: Kit Chan
> Assignee: Kit Chan
> Fix For: 6.2.0
>
>
> Currently ts.now() returns the unix timestamp in seconds.
> But we should be able to return milliseconds as well.
> It should be similar to how ngx.now() works.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)