{"action":"created","issue":{"url":"https://api.github.com/repos/pchampin/fsa4streams/issues/1","repository_url":"https://api.github.com/repos/pchampin/fsa4streams","labels_url":"https://api.github.com/repos/pchampin/fsa4streams/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pchampin/fsa4streams/issues/1/comments","events_url":"https://api.github.com/repos/pchampin/fsa4streams/issues/1/events","html_url":"https://github.com/pchampin/fsa4streams/issues/1","id":120647084,"number":1,"title":"Add an option ``max_time_span``","user":{"login":"pchampin","id":304612,"avatar_url":"https://avatars.githubusercontent.com/u/304612?v=3","gravatar_id":"","url":"https://api.github.com/users/pchampin","html_url":"https://github.com/pchampin","followers_url":"https://api.github.com/users/pchampin/followers","following_url":"https://api.github.com/users/pchampin/following{/other_user}","gists_url":"https://api.github.com/users/pchampin/gists{/gist_id}","starred_url":"https://api.github.com/users/pchampin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchampin/subscriptions","organizations_url":"https://api.github.com/users/pchampin/orgs","repos_url":"https://api.github.com/users/pchampin/repos","events_url":"https://api.github.com/users/pchampin/events{/privacy}","received_events_url":"https://api.github.com/users/pchampin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pchampin/fsa4streams/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-06T17:30:08Z","updated_at":"2016-03-12T17:28:34Z","closed_at":"2016-03-12T17:28:34Z","body":"This could be an option on the FSA itself or states (or may be just terminal states...).\r\n\r\nThe idea is to drop tokens whenever they span over too long a period of time. Note that a token reaching the ``max_time_span`` on a terminal state should then be considered as a match.\r\n\r\nNote that, for this option to be very useful, it should be possible to assign a specific timestamp to each event. This could be an optional parameter of the method ``feed``, which would default to [last timestamp+1], and would be expected to only increase."},"comment":{"url":"https://api.github.com/repos/pchampin/fsa4streams/issues/comments/195777599","html_url":"https://github.com/pchampin/fsa4streams/issues/1#issuecomment-195777599","issue_url":"https://api.github.com/repos/pchampin/fsa4streams/issues/1","id":195777599,"user":{"login":"pchampin","id":304612,"avatar_url":"https://avatars.githubusercontent.com/u/304612?v=3","gravatar_id":"","url":"https://api.github.com/users/pchampin","html_url":"https://github.com/pchampin","followers_url":"https://api.github.com/users/pchampin/followers","following_url":"https://api.github.com/users/pchampin/following{/other_user}","gists_url":"https://api.github.com/users/pchampin/gists{/gist_id}","starred_url":"https://api.github.com/users/pchampin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchampin/subscriptions","organizations_url":"https://api.github.com/users/pchampin/orgs","repos_url":"https://api.github.com/users/pchampin/repos","events_url":"https://api.github.com/users/pchampin/events{/privacy}","received_events_url":"https://api.github.com/users/pchampin/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T17:28:34Z","updated_at":"2016-03-12T17:28:34Z","body":"This is actually now implemented with ``max_duration`` and ``max_total_duration``."}}