Again these were the instructions I had. To put the script in ion/util and
have it read a dataproducts_to_monitor.txt file


On Mon, Mar 24, 2014 at 11:22 AM, Michael Meisinger <
notifications@github.com> wrote:

> In ion/util/event_poll.py:
>
> > @@ -0,0 +1,70 @@
> > +import sys
> > +import os.path
> > +import ast
> > +import json, time
> > +import urllib, urllib2
> > +
> > +dataproducts_to_monitor_file = "dataproducts_to_monitor.txt"
>
> You cannot put code like this into ion.util, which are general purposed
> utilities. You don't need to poll either. Just wait the 1.1s max until the
> event persister has persisted the events.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/ooici/coi-services/pull/1951/files#r10898267>
> .
>