Fix session handling
Changes:
- Use a single process instead of a pool in order to avoid a
Task
to be pickable - Avoid calling
sessionmaker
multiple times
References: #8 (closed), https://gitlab.seismo.ethz.ch/indu/ramsis.sfm.em1/merge_requests/5
Edited by sarsonl