add passage attribute to item and bundles generation method for solver run

This commit is contained in:
Josh Burman
2021-12-14 21:28:38 +00:00
parent ae8f303269
commit a827312ef5
4 changed files with 30 additions and 14 deletions
+3 -3
View File
@@ -19,9 +19,9 @@ class ServiceListener(SqsListener):
logging.info('Process complete for %s', service.file_name)
def main():
logging.info('Starting Solver Service (v1.0.1)...')
logging.info('Starting Solver Service (v1.1.0)...')
listener = ServiceListener(
'measure-development-solver-ingest',
os.environ['SQS_QUEUE'],
region_name=os.environ['AWS_REGION'],
aws_access_key=os.environ['AWS_ACCESS_KEY_ID'],
aws_secret_key=os.environ['AWS_SECRET_ACCESS_KEY'],
@@ -31,6 +31,6 @@ def main():
if __name__ == '__main__':
myname=os.path.basename(sys.argv[0])
pidfile='/tmp/%s' % myname # any name
pidfile='/tmp/%s' % myname
daemon = Daemonize(app=myname,pid=pidfile, action=main, foreground=True)
daemon.start()