[ 
https://issues.apache.org/jira/browse/TIKA-3129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160099#comment-17160099
 ] 

Tim Allison commented on TIKA-3129:
-----------------------------------

The "last time accessed" gave me headache worrying about timezones. :D  I added 
a status endpoint that will respond with how many milliseconds since the last 
parse.  The "first parse" is whenever the server is turned on.

So that we not accidentally leak server state, users must turn on this endpoint 
with the {{-status}} switch on startup.

> Tika server - track a "last parsed on" timestamp and provide an endpoint to 
> get it
> ----------------------------------------------------------------------------------
>
>                 Key: TIKA-3129
>                 URL: https://issues.apache.org/jira/browse/TIKA-3129
>             Project: Tika
>          Issue Type: Wish
>            Reporter: Nicholas DiPiazza
>            Priority: Major
>
> Need a "last time accessed" that stores a timestamp of the last time an API 
> resource was accessed.
> This is needed so we can set up reaper daemon that kills the idle tika server 
> processes to limit memory consumption, particular on container environments 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to